policy_panel_plot

policy_panel_plot(stratum_retention_policy: Any, num_generations: int, do_show: bool = False, fig: Figure | None = None) Figure

Holistically sketch stratum retention policy at a particular generation.

Produces a composite multipanel plot.

Parameters

stratum_retention_policyany

Object specifying stratum retention policy.

num_generationsint

Number of generations to plot.

do_showbool, optional

Whether to show() the plot automatically.

figmatplotlib/pylab figure, optional

If a valid matplotlib.figure.Figure instance, the plot is drawn in that Figure. By default (None), a new figure is created.