[HN Gopher] Plotly.py 5.0
___________________________________________________________________
Plotly.py 5.0
Author : nicolaskruchten
Score : 73 points
Date : 2021-06-21 17:23 UTC (5 hours ago)
(HTM) web link (community.plotly.com)
(TXT) w3m dump (community.plotly.com)
| meristem wrote:
| I used plotly in its earlier versions for my research. So glad
| they continue to develop it.
| peatmoss wrote:
| Related: Some time ago I remember reading that Plotly sent the
| data back to plotly's servers. Is that old news / is there fully-
| local plotting now?
| nicolaskruchten wrote:
| This is definitely out of date! As of version 4.0, released two
| years ago, Plotly is "offline/local by default". Check out our
| docs: https://plotly.com/python/is-plotly-free/#can-i-use-
| plotly-f...
| dec0dedab0de wrote:
| oh that's fantastic. I saw a plotly demo many years ago when
| you sponsored my local PUG, and while it looked cool, I never
| gave it a chance because I assumed it was just a web service.
| nicolaskruchten wrote:
| Many years ago, indeed it was, but now you can use it and
| rest easy that your data isn't transiting through our
| servers unless you install the chart_studio module as well.
| aarondia wrote:
| 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 out of the box. It would
| have taken us months to recreate their functionality that we were
| able to get in days of implementation instead.
|
| [1] https://trymito.io/hn
| santiagobasulto wrote:
| I'm wondering. How does that work in terms of pricing and
| license? Do you need to pay a fee to plotly?
| nicolaskruchten wrote:
| Plotly.py is MIT-licensed and totally free for anyone for any
| purpose :)
| rozab wrote:
| Icicle chart uses a divergent colormap when it should probably
| use a sequential one.
|
| Sometimes I wish I never saw that one talk
| pottertheotter wrote:
| What talk are you referring to?
| nicolaskruchten wrote:
| In this case it's intentional: highlighting divergence from the
| global average :)
| CopOnTheRun wrote:
| 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.
| ENIanDEM wrote:
| 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 it.
| Maybe this new version improves on those things.
| F_J_H wrote:
| Plotly is fantastic - great to see another release. Have been
| using it to integrate charts into Oracle Application Express
| (APEX), which works really well, and provides for much more
| interactive data visualizations over the built-in APEX charts.
| markus_zhang wrote:
| 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.
| prionassembly wrote:
| How does Dash compare to Streamlit?
| markus_zhang wrote:
| Sorry never played with Streamlit.
| refactor_master wrote:
| Have similar experience with Plotly + Streamlit when PowerBI
| starts to collapse under its own weight :)
|
| It's also way simpler to just pull everything in and manipulate
| it in Pandas, if your data is not pristine from the get-go.
| markus_zhang wrote:
| Yeah man. With Python you have access to huge amount of
| libraries (and have better code quality TBH) while in Tableau
| you have to use whatever they give you.
|
| That said, Tableau is still useful for the "ordinary"
| dashboards, e.g. it's a lot easier if you just need to do
| some simple calculations and get your KPI. Tableau is still
| way faster than any other programming language.
___________________________________________________________________
(page generated 2021-06-21 23:01 UTC)