-
-
Notifications
You must be signed in to change notification settings - Fork 2.8k
Closed
Description
Hi,
I am trying to plot a Sankey diagram for the below data:
data = go.Sankey(link = link, node=node,node_pad=20)
print(data)
Sankey({
'link': {'source': [567, 567, 567, 567, 567, 567, 567, 567, 567, 567, 567,
567, 567, 567, 567, 567],
'target': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15],
'value': [15, 11, 3, 3, 65, 7, 2, 27, 49, 19, 45, 107, 128, 48, 1, 3]},
'node': {'label': [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 567], 'pad': 50, 'thickness': 5}
})
fig = go.Figure(data)
fig.show()
I am able to get the labels for target node, but not the source node(=567)

. Is there something I am missing?
Metadata
Metadata
Assignees
Labels
No labels