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

widget icons missing on Colab (ICMW) #253

Closed
slayoo opened this issue Oct 23, 2020 · 6 comments
Closed

widget icons missing on Colab (ICMW) #253

slayoo opened this issue Oct 23, 2020 · 6 comments

Comments

@slayoo
Copy link
Member

slayoo commented Oct 23, 2020

No description provided.

@slayoo
Copy link
Member Author

slayoo commented Oct 23, 2020

image

@slayoo
Copy link
Member Author

slayoo commented Nov 12, 2020

minimal reproducer:

from ipywidgets import Play
display(Play())

image

@slayoo
Copy link
Member Author

slayoo commented Nov 13, 2020

Apparently, this is it: googlecolab/colabtools#1302

@slayoo
Copy link
Member Author

slayoo commented Nov 13, 2020

Works!!!!

image

So, this needs to be added somewhere:

import sys
if 'google.colab' in sys.modules:
  from ipywidgets import HTML
  display(HTML('''<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css"> '''))

slayoo added a commit to slayoo/PySDM that referenced this issue Nov 13, 2020
slayoo added a commit that referenced this issue Nov 13, 2020
@slayoo slayoo closed this as completed Jan 2, 2021
@slayoo slayoo reopened this Mar 31, 2021
@slayoo
Copy link
Member Author

slayoo commented Mar 31, 2021

happens again...

@slayoo
Copy link
Member Author

slayoo commented Apr 6, 2021

@slayoo slayoo closed this as completed Apr 6, 2021
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

1 participant