Don't automatically add axis: {"autorange": True, "range": None}
when converting existing figures
#223
Labels
bug
Something isn't working
In figure_resampler_interface.py#149
I'm generating some nested graphs that are meant to always display data within the same range. For my case it's telemetry from my car, and let's imagine the example of Oil Temp. I know the oil temp can only be within the range [40, 100] during operation, so my oil temp graph is set to always have that range. That way, any time I open a trace, I can tell at a glance if the line is near the top of the graph, it must mean bad things.
When I add FigureResampler to my existing Dash app, it completely breaks my careful construction of the graph and throws a global 'autorange' onto it. This both loses the initial fixed range, and also continuously re-ranges the Y axis whenever I scroll horizontally
graph_things.py
dash_app.py
I've split my code into two files, since I don't necessarily always want to use Dash to display the Figure. So I don't want to, eg. set the FigureResampler(subplots.make_subplots()), and then separately add each trace to it, or reset the axis ranges in a second step.
Is there a way I can disable autozoom when simply wrapping an existing Figure using FigureResampler(existingFig)?
The text was updated successfully, but these errors were encountered: