plotly-resampler
plotly-resampler copied to clipboard
[REQUEST] ScrollZoom for FigureWidgetResampler
Plotly allows you to enable ScrollZoom, which I'm unable to do with with FigureWidgetResampler
. I currently return the FigureWidgetResampler
object in python notebook as a cell-return and the object doesn't seem to have any option of how to pass down the config. If you point me in the right direction, I'm more than willing to prepare a PR that fixes it, but when going through the code, I couldn't figure out how to propagate it.
Example from plotly doc:
import plotly.graph_objects as go
fig = go.Figure()
fig.add_trace(
go.Scatter(
x=[1, 2, 3],
y=[1, 3, 1]))
fig.show(config={'scrollZoom': True})