Plotting by plot_matrix
mario has a generic plot function for plotting the matrices that follows the main rule of the plotly express functions. This function gives the ability to the user to plot basic functions for differnet matrices and different scnearios with a given degree of freedom. In the following example, a couple of examples are represented on IOT and SUT datbases.
# loading a IOT test test = mario.load_test('IOT')
# plotting total final demand matrix with plot_matrix without separating the regions test.plot_matrix( matrix= 'Y', x = 'Consumption_category', # putting the consumtion categoreis on x axis color= 'Sector_from', # the colors will define the sectors that consumption categroies coming from, path= 'final_deamnd.html' )