mario.Database.plot_bubble#
Note
Deprecated wrapper. Prefer mario.Database.plot(...) for new code.
- Database.plot_bubble(x, y, size, path=None, auto_open=True, scenario='baseline', log_x=False, log_y=False)#
Deprecated wrapper for a GDP or extension bubble chart.
- Parameters:
x – Variables mapped to the chart axes and bubble size. Each value can be
"GDP", a satellite-account label, or a factor-of-production label.y – Variables mapped to the chart axes and bubble size. Each value can be
"GDP", a satellite-account label, or a factor-of-production label.size – Variables mapped to the chart axes and bubble size. Each value can be
"GDP", a satellite-account label, or a factor-of-production label.path – Output HTML path. When omitted, MARIO writes to the default plots directory.
auto_open – When
True, open the generated HTML plot automatically.scenario – Scenario to plot.
log_x – When
True, use logarithmic scaling on the corresponding axis.log_y – When
True, use logarithmic scaling on the corresponding axis.
- Returns:
The plot is written to disk.
- Return type:
None