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

Is there anyway to port this into colab? #32

Closed
Kreijstal opened this issue Jun 20, 2020 · 3 comments
Closed

Is there anyway to port this into colab? #32

Kreijstal opened this issue Jun 20, 2020 · 3 comments

Comments

@Kreijstal
Copy link

Kreijstal commented Jun 20, 2020

I'd like this to work with colab, is this in general really hard to achieve?

I've done some research and google colab does support ipywidgets 7.5.0, as you can see on this example colab the problem with ipytree is that the trees appear blank as if there is no html to be shown, does anyone know why is this? Internally it seems to be working fine.

I'd fix it myself but I wouldn't know how to start debugging this problem.
image
As you can see trees appear blank

image
representation of the tree seems to work fine, but dom_classes is empty, should it be empty?

@martinRenou
Copy link
Collaborator

Google colab does not support custom interactive widgets libraries, this is something that should be fixed in colab, we cannot do anything about it in ipytree unfortunately. You can follow the status of this here: googlecolab/colabtools#60

@tylere
Copy link

tylere commented Dec 20, 2021

Fyi, I filed a specific Colab issue for ipytree support: googlecolab/colabtools#2522

@blois
Copy link

blois commented Dec 20, 2021

ipytree==0.2.0 appears to work in Colab when custom widgets are enabled (see example in googlecolab/colabtools#2522).

With ipytree==0.2.1 it's failing to find /dist/index.js. This is included in the published files to npm for 0.2.0 but not 0.2.1.

I believe this was a result of 81e125e#diff-e51a40ac250c9696142466f114f754161e7e5102c0cdb5354548b757deb272f6?

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

4 participants