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
Two series show up in the legend, but only one series is plotted:
Workaround
If you change 'y2' in the code above to 'y1', both series will show up. However, it's not always reasonable to assume there will be data on y1 - I am trying to write a purpose-specific API that uses plotly in such a way that I cannot guarantee there will be something on y1 without significant extra complexity.
The text was updated successfully, but these errors were encountered:
Thanks for the report, I see what you mean. Yes, I think this is something we should move to the plotly.js repo at https://github.com/plotly/plotly.js/issues. You can mention me in that plotly.js issue as well in case they have any questions on the Python side. Thanks!
This may be an issue in plotlyjs - if so, please point me to the right place.
When plotting data on multiple Y axes, particularly when nothing is plotted on the primary Y axis, sometimes plotly will only show one series.
Example code
Expected behavior
Two series are plotted
Actual behavior
Two series show up in the legend, but only one series is plotted:

Workaround
If you change
'y2'
in the code above to 'y1
', both series will show up. However, it's not always reasonable to assume there will be data on y1 - I am trying to write a purpose-specific API that uses plotly in such a way that I cannot guarantee there will be something on y1 without significant extra complexity.The text was updated successfully, but these errors were encountered: