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

Importing ipyleaflet causes accordion and tab widgets to fail to render #30

Open
tylere opened this issue Nov 18, 2022 · 1 comment
Open

Comments

@tylere
Copy link

tylere commented Nov 18, 2022

After importing ipyleaflet, the accordion and tab widgets fail to render. The behavior occurs in Colab, but not in JupyterLab.

Script to reproduce: https://colab.research.google.com/drive/1YsTuzrRwFWBNq2ADDN0R6FZCTHcA6Dpb?usp=sharing

image

@antoinedaurat
Copy link

I have the same issue: after enabling the custom widget manager, the manager can't render the Accordion and Tab widgets.
They both fail at the same line, when trying to get "titles" from their model:
failing line
error trace

I encountered similar issues outside of colab (Accordion widget not rendering titles) but a simple upgrade to the latest ipywidgets version solved it.
It seems to me, that upgrading the @jupyter-widget/* dependencies of the manager could do the trick here too.

If you'd like, I'd be happy to try to fix it and submit a PR.

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

2 participants