mario.Database.plot_gdp
- Database.plot_gdp(path=None, plot='treemap', scenario='baseline', extension=None, extension_value='relative', auto_open=True, drop_reg=None, title=None)
Plots sectoral GDP with additional info
- Parameters:
path (str, Optional) – the path and the name of the file to save the plot
plot (str) – type of the plot [‘treemap’,’sunburst’]
scenario (str) – scenario to plot
extension (str, optional) – a satellite account item that can be used for scaling the colors
extension_value (str) – # ‘relative’ for scaling on specific satellite account (e.g. CO2/Euro of production) # ‘absolute’ for abolute scaling on satellite account (e.g. total CO2)
auto_open (boolean) – if True, the plot will be opened automatically
drop_reg (str, optional) – a region to be excluded in the plot can be passed. Useful when using MRIO with one region and a Rest of the World region.
title (str, optional) – here the user can pass a costume title for the plot