Closed
Description
Issue
When plotting data on multiple Y axes, particularly when nothing is plotted on the primary Y axis, sometimes plotly will only show one series.
Repro
https://codepen.io/jasoncurtis/pen/zmqNMQ?editors=0010
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 repro 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.
Related:
- I filed Multiple Y axes: only one scatterplot renders plotly.py#1200 for this and was referred here since this is a plotly.js issue.
- it appears that this issue may have been the source of Multiple y axes with scatter traces do not work correctly #1970 which was closed because @alexmon's repro did not work.
Metadata
Metadata
Assignees
Labels
No labels