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

[Charts] Change the charting backend from bqplot to plotly #1488

Closed
giswqs opened this issue Apr 6, 2023 · 2 comments
Closed

[Charts] Change the charting backend from bqplot to plotly #1488

giswqs opened this issue Apr 6, 2023 · 2 comments
Labels
Feature Request New feature or request

Comments

@giswqs
Copy link
Member

giswqs commented Apr 6, 2023

Colab already has plotly pre-installed. We can probably switch the charting backend from bqplot to plotly. The plotly FigureWidget provides similar functionality to bqplot.
https://plotly.com/python/figurewidget-app/

@giswqs giswqs added the Feature Request New feature or request label Apr 6, 2023
@jdbcode
Copy link
Collaborator

jdbcode commented Jul 6, 2023

It seems FigureWidget is not supported by Colab. We can show a non-widget version of a plotly chart in a widgets.Output (interactive), but we can't observe interactions like a widget to, e.g., click a point in a scatter plot and have it return the feature observation info.

Here is a Colab notebook for testing: https://colab.research.google.com/drive/1X2zePfh-zO6yIWKcwOraYKrTaQe30Pzf?usp=sharing

Colab supports custom widgets, but I can't get FigureWidget to work. I'll register a bug with the Colab team.

@jdbcode jdbcode changed the title Change the charting backend from bqplot to plotly [Charts] Change the charting backend from bqplot to plotly Jul 6, 2023
@giswqs
Copy link
Member Author

giswqs commented Aug 18, 2024

The chart module has been added in #1855. Closing this issue now.

@giswqs giswqs closed this as completed Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants