I use below plotly code to create a sankey chart.
import plotly.graph_objects as go
import plotly.io as pio
import pandas as pd
dataset = pd.read_csv('/Users/i073341/Library/CloudStorage/OneDrive-SAPSE/Data Analysis/result/Opportunity/20220121-170612/omp_cleanSankey.csv')
labelListTemp1 = list(set(dataset.source.values))
labelListTemp2 = list(set(dataset.target.values))
labelList = labelListTemp1 + labelListTemp2
sankey_node = list(dict.fromkeys(labelList))
fig = go.Figure(data=[go.Sankey( node = dict( pad=15,thickness=20,line = dict(color = "black", width = 0.5),label = labelList,color = "blue" ),
link = dict(source = dataset.source.apply(lambda x: labelList.index(x)),
target = dataset.target.apply(lambda x: labelList.index(x)),
value = dataset.value))])
fig.update_layout(autosize=False,width = 3000,height = 1000,hovermode = 'x',title="performance Goal user behavior monitor",font=dict(size=16, color='black'))
fig.write_html('/Users/i073341/Library/CloudStorage/OneDrive-SAPSE/test/perfUXRGoal.html', auto_open=False)
And the chart style created by plotly looks like below.
I googled that matplotlib can create sankey chart as well, but the sankey style created by matplotlib looks like below.

Is the possible to matplotlib to create a sankey chart that style is like what plotly created?
