Place sankey node labels on the outside of the plot?

Pretty much the title. I would like to display the node labels in a sankey plot not on top of the link traces “inside” the plot, but on the outside, like in the example of the parallel categories plot: https://plot.ly/python/parallel-categories-diagram/#new-to-plotly

My use case is that I often have plots where the link traces are very slim, so they tend to “hide” behind the node labels:

Additionally this tends to become very hard to read when the link traces are coloured using a greyscale.

I have poked around the attributes for the sankey plot, but this functionality does not seem to exist? I was thinking about opening a feature request on GitHub directly, but thought to come here first.

Best,
David

1 Like

I’m facing this issue as well. I haven’t been able to find a work around - margins don’t work either.

Just chiming in here to ask if anyone cracked the code! Please share