News for hackers. Stuff that matters.
Re:Introducing plotly.py 3.0.0 by jmmease on Thursday June 28, 2018 @12:31PM (#17418336)
Hi HN,

This is Jon from the release announcement. AMA!

Re:Introducing plotly.py 3.0.0 by malmaud on Thursday June 28, 2018 @01:20PM (#17418786)
Hi Jon, Thanks for the great release! Your post mentions support for JupyterLab, but getting Plotly working in JupyterLab is not working smoothly at the moment (see https://github.com/jupyterlab/jupyter-renderers/issues/132). Is this something you guys are looking into?
Re:Introducing plotly.py 3.0.0 by jmmease on Thursday June 28, 2018 @01:25PM (#17418824)
I haven't looked into this specifically. Using the FigureWidget approach in 3.0.0 doesn't actually require the current @jupyterlab/plotly-extension. It's all contained in the new plotlywidget extension.
Re:Introducing plotly.py 3.0.0 by malmaud on Thursday June 28, 2018 @01:26PM (#17418832)
Oh, that's a great improvement in and of itself then. Thanks!
Re:Introducing plotly.py 3.0.0 by jmmease on Thursday June 28, 2018 @02:05PM (#17419139)
BTW, I got a GitHub notification of a comment that you were having trouble installing it. But I can't find the comment in GitHub itself.
Re:Introducing plotly.py 3.0.0 by malmaud on Thursday June 28, 2018 @02:24PM (#17419274)
Ah ya, I realized afterwards from more Googling that this is a global problem in the jupyterlab extension ecosystem when using node 10. Since it's already been worked on in other issues, I deleted my comment.
Re:Introducing plotly.py 3.0.0 by LukeB42 on Thursday July 05, 2018 @03:51PM (#17466245)
Is it possible to have the lasso tool return a list of selected data points?
Re:Introducing plotly.py 3.0.0 by jmmease on Thursday July 05, 2018 @04:37PM (#17466608)
Yes! You use the trace.on_selection method to register a callback function. Here's an example: https://github.com/jonmmease/plotly_ipywidget_notebooks/blob...
Re:Introducing plotly.py 3.0.0 by LukeB42 on Friday July 06, 2018 @05:05AM (#17469978)
That's f'n awesome. Many thanks!
Re:Introducing plotly.py 3.0.0 by FlyingLawnmower on Thursday June 28, 2018 @01:21PM (#17418795)
Hi Jon,

Just want to say I absolutely love plotly. It's made data science and visualization fun again. Thank you for all your hard work!

Re:Introducing plotly.py 3.0.0 by jmmease on Thursday June 28, 2018 @01:29PM (#17418856)
Sure thing! But full disclosure, I wasn't actually involved in any of the versions of plotly.py before 3.0.0 :-)

Hopefully 3.0.0 will be even more fun!

Re:Introducing plotly.py 3.0.0 by Something1234 on Thursday June 28, 2018 @10:37PM (#17421977)
Plotly is awesome, but it can be really slow when loading from cold with a shiny app. Big fan of it with ggplot.