-
-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
pass config options to FigureWidget #1074
Comments
Hi @amaurydar , I'm not certain that we'll be able to support all of the config options in |
Thanks for your reply! The 2 options I use currently are the ones mentioned above : |
yup, I'm looking for scrollZoom. If there any work around? |
Is there an update on using scrollZoom with FigureWidgets yet? |
@nicpayne713 I had to go through ipyevents extension to solve it |
Hey @jonmmease I'm also interested in having |
@jonmmease I got it working, will try to throw everything away which has nothing to do with |
@LukaPitamic I'm interested :-). Thanks! |
@LukaPitamic @emmanuelle |
Hi all, any progress on this matter? It would be quite useful for many, me included =) |
Yes this would be useful. Really FigureWidget should pass most options available in
|
@chaffra @luiztauffer @Diogo-Rossi @emmanuelle , been promising this for a while, here you go: |
Yes. Seconded. The most intuitive for me would be if FigureWidget accepted the exact same config dict. |
@jonmmease Can we expect progress on this anytime soon? |
We’re not actively working on this at the moment but we’d certainly accept a community PR if someone wanted to give it a shot! |
@nicolaskruchten Any pointers where should I look within plolty.py codebase if I want config to work with FigureWidgets? |
Adding to the chorus of voices to say that I also need access to the displayModeBar setting for FigureWidget. I've tried hunting down where this is hooked up in the codebase with no luck and would also need some pointers. |
Sorry, I never replied to @jaladh-singhal above! So we would need at least two changes:
|
Adding a suggestion. Could you please add the ability to add horizontal and vertical scrollbars to this config? |
checking back after a couple of years... any progress on this Issue? |
It's possible to update the config by assigning the fig = go.FigureWidget()
fig._config = fig._config | {'displayModeBar': False}
display(fig) Note:
fig = go.FigureWidget()
fig._config['displayModeBar'] = False
display(fig) |
This did not work while creating a plotly plot in Python Shiny. The ModeBar still showed. |
With the latest releases of plotly and shinywidgets, this workaround should work now posit-dev/py-shinywidgets#173 (comment) |
Previously I was able to do
Is it possible using the new FigureWidget ?
The text was updated successfully, but these errors were encountered: