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

FigureWidget in Google Colab #2202

Open
rr5577 opened this issue Feb 15, 2020 · 10 comments
Open

FigureWidget in Google Colab #2202

rr5577 opened this issue Feb 15, 2020 · 10 comments
Labels

Comments

@rr5577
Copy link

rr5577 commented Feb 15, 2020

I just tried google colab, and using FigureWidget, it doesn´t seem to work, i.e nothing is displayed:
image

and the browser console shows an error
image

can this be fixed (by installing something that´s missing from the colab defaults)?

@lollipopenator
Copy link

I've got the same problem!

Screenshot_20200406_colab_plotly_issue

@emmanuelle emmanuelle added the bug label Apr 5, 2020
@emmanuelle
Copy link
Contributor

I can reproduce. @jonmmease is the plotlywidget supposed to work in Colab? For a while Colab did not support ipywidgets since they had their own widgets but it seems to be working now...

@jonmmease
Copy link
Contributor

Last I checked, Colab supported the built-in ipywidgets but not custom widgets. Though that was a while back.

@flow4u
Copy link

flow4u commented Apr 11, 2020

ipywidgets ...buttons and slider work; I can create buttons with actions from a list. However, go.FigureWidget() seems like looping

@abisi
Copy link

abisi commented May 11, 2020

Hello,
I was trying to reproduce the example from https://plotly.com/python/figurewidget-app/ in Google Colab and although a widget like FloatRangeSlider works on its own, I could not make the example to work.

Capture d’écran 2020-05-11 à 17 03 28

Nothing is shown. Any idea why that may be ?
g.show() displays the default graph.
(Plotly: 4.4.1; ipywidgets: 7.5.1)

Regards,
Axel

@ucalyptus
Copy link

@abisi this would work now. Ipywidgets is supported on colab now.

@FlorentF9
Copy link

@ucalyptus I tried and it still displays nothing. Have you tried?

@alexgorbachev
Copy link

Seems like it still doesn't work.

@SebaVGit
Copy link

SebaVGit commented Mar 4, 2021

Hi everyone,
@FlorentF9 @alexgorbachev I tested it a few moments ago an still does not working. Despite it seems that runs correctly, this example does not show anything on the screen.

@yumyai
Copy link

yumyai commented May 3, 2021

I tried it and it still does not work. I have no idea why since plotly.offline.iplot or .plot() work fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests