Live data from Hacker News

Plotly.py 5.0

community.plotly.com

21–30 of 38 posts

Re: Plotly.py 5.0

#21

What do people here think of plotly when compared to matplotlib? I've read through some of the api documentation and have created graphs with the latter, but don't have much experience with plotly.

It's really nice for exploring data. I find whenever I have ~5+ series on a single axis on mpl I start to struggle to differentiate colours & lines etc. I sort of addressed that by getting creative with dash styles etc, but still it's not ideal. Plotly is much more dynamic & I love the call outs etc. I do find it much less intuitive and less well documented than mpl and it's fussy about the shape of the data you give…

I'd love to hear more about what you found fussy in terms of shape of data... I've worked really hard to make Plotly Express as flexible as possible in terms of input formats (https://plotly.com/python/px-arguments/) and Graph Objects will eat pretty much anything list-like :)

Re: Plotly.py 5.0

#22
I'm a data analyst/engineer and I'm not very good at visualisations as they haven't been that important at my jobs. I know it sounds a bit weird. Recently I've been trying to make a Plotly-Dash report/webtool that will enable bidirectional flow of data. So far I haven't been able to get plotly running on Jupyter. The examples I've seen so far have been amazing. I wish I could make it work. Hopefully the latest version will help me produce plots inside Jupyter notebook for testing purposes.

Re: Plotly.py 5.0

#25

Dash is really the go-to library if you want to build some complex, flexible dashboards. I found for highly customized dashboards it's a lot easier just to program your own instead of squeezing Tableau's rules.

Plotly is quite nice but I find Dash's use of HTML for layouts a bit forced. For dashboards I have been using Panel, which supports plotly plots, which keeps things closer to pure python https://panel.holoviz.org/index.html

The Devs recently added support for templates which can handle dynamic layouts (i.e drag and drop). https://panel.holoviz.org/reference/templates/React.html#tem...

Re: Plotly.py 5.0

#26
post #22

I'm a data analyst/engineer and I'm not very good at visualisations as they haven't been that important at my jobs. I know it sounds a bit weird. Recently I've been trying to make a Plotly-Dash report/webtool that will enable bidirectional flow of data. So far I haven't been able to get plotly running on Jupyter. The examples I've seen so far have been amazing. I wish I could make it work. Hopefully the latest versio…

You may want to try out perspective. It seems to be able to do what you want, I’ve been looking to try it myself.

https://perspective.finos.org/

Editable example

https://bl.ocks.org/texodus/45b868833c9f456bd39a51e606412c5d

Re: Plotly.py 5.0

#27

I can attest first hand to how great Plotly is. I'm building Mito[1], an interactive spreadsheet that converts every edit you make into the equivalent Python code, it's also a Jupyter extension. We use Plotly for all of our visualizations -- letting users configure bar plots, histograms, scatter plots, etc similar to how you could in Excel. Plotly's API is really simple to use and it allows for interactivity right ou…

Whoa Mito is pretty neat! Is there a way to export what I did via the GUI into lines of code?

Re: Plotly.py 5.0

#29

I can attest first hand to how great Plotly is. I'm building Mito[1], an interactive spreadsheet that converts every edit you make into the equivalent Python code, it's also a Jupyter extension. We use Plotly for all of our visualizations -- letting users configure bar plots, histograms, scatter plots, etc similar to how you could in Excel. Plotly's API is really simple to use and it allows for interactivity right ou…

What is its level of support for interactive 3D plots? Is it build on top of Matplotlib?

Re: Plotly.py 5.0

#30
post #22

I'm a data analyst/engineer and I'm not very good at visualisations as they haven't been that important at my jobs. I know it sounds a bit weird. Recently I've been trying to make a Plotly-Dash report/webtool that will enable bidirectional flow of data. So far I haven't been able to get plotly running on Jupyter. The examples I've seen so far have been amazing. I wish I could make it work. Hopefully the latest versio…

You may want to try out perspective. It seems to be able to do what you want, I’ve been looking to try it myself. https://perspective.finos.org/ Editable example https://bl.ocks.org/texodus/45b868833c9f456bd39a51e606412c5d

Thanks mate. Will look into it. I've been following this youtube tutorial to set up a basic report frame from my data sources.

https://www.youtube.com/watch?v=0mfIK8zxUds

Post reply on HN