-
Notifications
You must be signed in to change notification settings - Fork 0
Feature/use widget in colab #35
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
Conversation
…jupyter notebook, and google colab
…ss, but this is gross so I gotta come up with a better way
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This file contains what used to be in src/widget.ts, with some changes to use anywidget
…ed for that purpose used in Viewer.tsx
interim17
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Awesome that we can run in jupyter notebook as well as colab now
Time Estimate or Size
Medium
Problem
Previously, the nbsv widget only works in Jupyterlab, but it would be ideal if it works in Google Collab (and Jupyter Notebook while we're at it)
Link to story or ticket
Solution
After fumbling with debugging for a long time, I discovered the anywidget package which is meant to handle a lot of the platform specific configurations, allowing widgets that use it to work on multiple different platforms. This allowed me to get rid of some of the weird configurations I was trying to use to get rid of errors in google colab!
Type of change