Note

Deprecated wrapper. Prefer mario.Database.plot(...) for new code.

Database.plot_linkages(
scenarios='baseline',
normalized=True,
cut_diag=True,
multi_mode=False,
path=None,
plot='Total',
auto_open=True,
**config,
)#

Deprecated wrapper for plotting linkage indicators.

Parameters:
  • scenarios – Scenario name or iterable of scenario names to plot.

  • normalized – Forwarded to calc_linkages(...).

  • cut_diag – Forwarded to calc_linkages(...).

  • multi_mode – Forwarded to calc_linkages(...).

  • path – Output HTML path. When omitted, MARIO writes to the default plots directory.

  • plot – Linkage flavor to visualize. Accepted values are "Total" and "Direct".

  • auto_open – When True, open the generated HTML plot automatically.

  • **config – Extra plotting options forwarded to the plotting backend.

Returns:

The plot is written to disk.

Return type:

None