🚀 Gen 5 of the leading AI app deployment platform launches October 6. Click for the livestream.

Is legendrank deprecated and what's its replacement?

I’m having an error when trying to use legendrank on:

fig = go.Figure()


I’m getting:

ValueError: Invalid property specified for object of type plotly.graph_objs.Scatter: ‘legendrank’

But here in the reference link, it’s there:

Has this been deprecated and is there a replacement?

Thanks for you help

The legendrank property has been introduced in version 5. You are probably using an older major version. :wink:

hope it helps,


1 Like

Ahh ok…I’ll upgrade then, thanks!