plot_structural_scenario#

impulso.plotting.plot_structural_scenario(result, prob=0.89, figsize=None)[source]#

Plot a structural scenario, one panel per variable.

Shares the conditional-forecast fan layout (median, HDI band, pinned values marked) with a scenario title; the adjusting set, when restricted, is reported in the suptitle.

Parameters:
  • result (ScenarioResult) – ScenarioResult.

  • prob (float) – Probability mass for the HDI band. Default 0.89.

  • figsize (tuple[float, float] | None) – Figure size. Defaults to (12, 3 * n_vars).

Returns:

Matplotlib Figure.

Return type:

Figure