A few questions about functionality #217
|
Thanks for making this critically needed tool for the plotly API! I have a few questions based on the attached GIF examples. Our use case is to view hi-resolution (1-minute to 10-minute sampling) environmental observations for post-deployment QC. We will be starting with an overview of the entire length of the deployment, typically 12-16 months, and need to be able to zoom into the granular level. In my testing I have discovered the attached behavior and have these questions about it:
|
Replies: 3 comments 5 replies
|
Hey @darynwhite Thanks for sharing your questions here - we appreciate the effort you put into adding the GIFs :) Q1 - Freezing the y-axis # fix the y-axis range
fig.layout.yaxis.range = [-2, 2]Q2 - behavior at the individual sample scale Q3 - "Reset Axis" does cause a resample Q4 - stacking of samples
Hope this helps! Please further comment if I misinterpreted any of your questions :) Cheers, Jeroen P.S.: Your use-case for plotly-resampler sound really fascinating! If you have any additional information / interesting plotly-resampler empowered visualizations that you can share with us - you may always contact us via mail :) |
|
Hey @jvdd! I'm going to break Q1 out here. What's happening is that I set the |
|
Hi @darynwhite, this is a fascinating environmental-QC use case. I have been building FlexViz (successor to this project) that is packed with much more functionality (trace types, cross-filtering, out-of-core, stateless server). FlexViz separates axis locking from aggregation: a locked y-axis keeps its range, while line data re-aggregates only when the x viewport changes. Resetting restores the full viewport and fetches a fresh aggregate. I would be very happy to help further if this workflow is still relevant. |



More digging produced this issue thread that solved the stacking/slipping problem observed: plotly/plotly.js#5970