mario.Database.plot_linkages

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

Plots linkages in different modes

Note

when caclulating linkages, possible negative numbers, are ignore

Parameters:
  • scenarios (str,List[str]) – A scenario or a list of scenarios to plot

  • normalized (boolean) – if True, plots normalized linkages

  • cut_diag (boolean) – if True, ignores the self consumption of sectors in calculating linkages

  • multi_mode (boolean) – –TODO–

  • path (str,Optional) – the path and the name of the plot file. (path should contain the name of the file with .htlm extension) for example ‘pathlinkagesPlot.html’

  • plot (str) –

    Options are:

    • ’Total’ to plot the total linkages

    • ’Direct’ to plot the direct linkages

  • auto_open (boolean) – if True, opens the plot automatically