News for hackers. Stuff that matters.
Re:Introducing plotly.py 3.0.0 by kmonad on Thursday July 05, 2018 @06:48PM (#17467521)
3.0.0 introduces a new Jupyter widget class: plotly.graph_objs.FigureWidget

For me, it doesn't. Every time I am tempted to use plotly I find it is either not working well with jupyter offline environments (a must for the data I am working with) or random bits an pieces from some official tutorial don't work.

Right now I have tried to follow the simple example that claims Jupyter. plotly.offline.init_notebook_mode and plotly.offline.iplot are no longer necessary -- which would be amazing. But when I try this, confirming I am indeed using plotly 3.0,

  plotly.graph_objs 
has no

  FigureWidget
Maybe I am missing something obvious here. And I really would like to like this, but to me it's been a time sink more than a useful module.

Edit: hn formatting

Re:Introducing plotly.py 3.0.0 by jmmease on Thursday July 05, 2018 @06:56PM (#17467568)
Do you have ipywidgets >= 7.2 installed (See install instruction at https://github.com/plotly/plotly.py)?

ipywidgets is an optional dependency and FigureWidget won't be available without it.

Re:Introducing plotly.py 3.0.0 by kmonad on Thursday July 05, 2018 @10:45PM (#17468501)
Thanks - that solved it! Works great now.