reno.viz.plot_refs#

reno.viz.plot_refs(refs, cols=None, rows=None, legends=True, **figargs)#

Render a bunch of subplots containing the line plots for the values of the passed references.

refs can contain both references directly as well as a nested list/tuple of references - anything in a nested list is plotted within the same subplot.

Note that this is distinct from plot_trace_refs and plots only data from the last simulation run for the model

Example

>>> plot_refs([m.stock_1, m.stock_2, m.stock_3])
>>> plot_refs([m.stock_1, (m.stock_2, m.flow_1, m.flow_2), m.stock_3])
Parameters:
Return type:

Figure