mario.Database.plot_gdp
Note
Deprecated wrapper. Prefer mario.Database.plot(...) for new code.
- Database.plot_gdp(
- path=None,
- plot='treemap',
- scenario='baseline',
- extension=None,
- extension_value='relative',
- auto_open=True,
- drop_reg=None,
- title=None,
Deprecated wrapper for sectoral GDP treemap and sunburst plots.
- Parameters:
path – Output HTML path. When omitted, MARIO writes to the default plots directory.
plot – Plot type. Accepted values are
"treemap"and"sunburst".scenario – Scenario to plot.
extension – Optional satellite-account label used to color GDP tiles by an extension indicator.
extension_value – Extension measure used for coloring. Accepted values are
"relative","absolute","specific footprint"and"absolute footprint".auto_open – When
True, open the generated HTML plot automatically.drop_reg – Optional region label to exclude from the visualization.
title – Optional custom plot title.
- Returns:
The plot is written to disk.
- Return type:
None