Skip to content

Sankey diagram problem #84

@crazycodingcat

Description

@crazycodingcat

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

I checked the properties of the rect svg elements and found the height is negative. Any idea why this happens?

Thanks,
Xuan

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions