Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[REQUEST] ScrollZoom for FigureWidgetResampler #319

Open
JendaPlhak opened this issue Sep 17, 2024 · 0 comments
Open

[REQUEST] ScrollZoom for FigureWidgetResampler #319

JendaPlhak opened this issue Sep 17, 2024 · 0 comments

Comments

@JendaPlhak
Copy link

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})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant