Plotly.py: FigureWidget in Google Colab

Created on 15 Feb 2020  路  7Comments  路  Source: plotly/plotly.py

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)?

bug

All 7 comments

I've got the same problem!

Screenshot_20200406_colab_plotly_issue

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...

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

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

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 a虁 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

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

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

Was this page helpful?
0 / 5 - 0 ratings

Related issues

fcollonval picture fcollonval  路  3Comments

binaryfunt picture binaryfunt  路  5Comments

entron picture entron  路  4Comments

suciokhan picture suciokhan  路  3Comments

astrojuanlu picture astrojuanlu  路  4Comments