VerticalTwoPanelPlotLayout#

class openstef_models.explainability.plotters.common.VerticalTwoPanelPlotLayout[source]

Bases: object

Create vertically aligned subplots.

static make_two_panel_time_figure() → Figure[source]

Create the vertically aligned subplot layout for two subplots.

Return type:

Figure

static add_top_panel_line_plot(fig: Figure, x: Index, y: Series, *, name: str = 'Prediction', show_legend: bool = False) → Figure[source]

Add a lineplot. Can be used to add a top panel prediction line plot.

Parameters:
Return type:

Figure