Closed avdcc closed 1 year ago
Hi, thank you for submitting this Issue!
I can indeed confirm that this is a bug, so I will look into it!
We perform some layout-matching in the back-end, to see which traces need to be aggregated, and we did not (yet) provide support for overlaying y-axes.
I will come back to this issue somewhere later today!
Update: altered the source-code in order that your example works.
TODO:
@avdcc,
I created a PR (#244) with a fix. As of now, I wait till someone will review it. As you can see, the fix itself is not that complex. I suggest you also look at the tests I added, as these give some nice demos on how to use multiple y-axes with subplots :)
Cheers, Jonas
@avdcc
Should be fixed in plotly-resampler==0.9.1
-
yes, now it works perfectly for my dashboard :) thank you so much, not only for the help and very quick update, but all the work on this project.
Hi,
I am trying to plot using multiple y-axis. To do this, I need to pass go.Scatter() to the ".add_trace" methods. By doing so, the resampling when zooming in only displays in the first trace, but not any of the following traces.
You can see this happening by slightly modifying the code in "03_minimal_cache_dynamic.py", replacing the construct_display_graph with this:
Environment information: (please complete the following information)