You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like there's a little more to this one - I also can't use update for layout.shapes even with Plotly 3.1.0. The following code prints an empty tuple.
If the original layout.shapes property is initialized to a list of length N, then the properties of the first N elements of the shapes variable are merged in. Elements beyond N are ignored.
In plotly.py version 3, what used to be case 1 is now falling into case 3. So we just need to check for the difference between an uninitialized shapes property and an empty shapes property.
From #1050
The text was updated successfully, but these errors were encountered: