Replies: 2 comments 2 replies
-
You'd need to check if kaggle supports jupyter widgets. That makes it seem like anywidget's javascript is not enabled on the page. I don't seem to see any issues related to kaggle on the anywidget issue tracker: https://github.com/manzt/anywidget/issues?q=sort%3Aupdated-desc%20is%3Aissue%20is%3Aopen%20kaggle
|
Beta Was this translation helpful? Give feedback.
-
Thanks for the quick response, Kyle! It seems Kaggle does support jupyter widgets as the following code worked well:
I tried
The scrolling not working anymore seems to be related to this Kaggle discussion where HTML code in the Markdown cells was found to cause a horizontal scrolling issue. Any other ideas for how to use Cheers! |
Beta Was this translation helpful? Give feedback.
-
Question
Hi! I'm trying to get
lonboard
working in a Kaggle notebook, but I'm getting a Javascript error (details below). Has anyone gottenlonboard
to work in Kaggle?Goal
Visualize a simple geodataframe with about 100k points in a Kaggle Notebook.
My code
The error
Steps tried
anywidget
was installed through pipimport ipywidgets as widgets; widgets.IntSlider()
!jupyter nbextension enable --py anywidget --sys-prefix
Left to try
The html option suggested in the databricks discussion post.
Beta Was this translation helpful? Give feedback.
All reactions