-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Sankey diagram problem #84
Comments
Hey @crazycodingcat, Thanks for the question. Try changing the value of For example:
The same effect can be achieved by increasing the height of the graph in the layout. This issue happens when the padding between nodes is too high for the each node to be displayed in the graph. |
@alishobeiri Thanks! Yes that works like a charm :) |
HammadTheOne
pushed a commit
to HammadTheOne/dash
that referenced
this issue
May 28, 2021
Fix props generation.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
I am trying to reproduce this sample Sankey diagram from plotly in Dash: https://plot.ly/python/sankey-diagram/
I just copy-pasted the sample code and in my dash application use
dcc.Graph(figure={'data': [data_trace], 'layout': layout})
The graph gets rendered but the rectangles are not displaying:
![sankey](https://user-images.githubusercontent.com/7253103/28205283-f8db6138-68b3-11e7-981e-e7039d2fd659.png)
I checked the properties of the
rect
svg elements and found the height is negative. Any idea why this happens?Thanks,
Xuan
The text was updated successfully, but these errors were encountered: