5 ms·
Everyone I know at $big_research_lab uses it and hates it. But what are the alternatives really? Altair plots are larger than you dataset, plotnine has totally
by nmca 7y ago
Everyone I know at $big_research_lab uses it and hates it. But what are the alternatives really? Altair plots are larger than you dataset, plotnine has totally unusable docs and insane behaviour in some places (look up what plotnine's gg.ylims does; I'd bet it's caused more than one peer-reviewed error.), and further seems to have basic operations like drawing a vline scale in slowness with the size of your data. Plotly is commercial, raw d3 is inconvenient from python. The situation is deeply unfortunate.
- nmca 7y agoOh, seaborn is tightly coupled to matplotlib, so I don't really distinguish the two in my complaining, but you should definitely be using seaborn.
- swiley 7y agoIMO plotting things is pretty easy, if it’s so bad it seems like it would be easier to just use draw with pillow/tkinter. You could always even just write out GNU Plot commands and then call it. I used that for the test harness I wrote in the robotics club (and everything was in C!) to plot the trajectory of the robot in auto mode. It’s super easy! I don’t remember if the GUI has all the panning and scaling though.
- SJetKaran 7y agowhat is wrong with plotnine's ylim?
- nmca 7y agoClips your data, changing the behaviour of smoothers etc, iirc gg.cartesian(ylim=...) is the thing that people usually want.
- mirroring 7y ago> Plotly is commercial Since their 4.0 release (https://medium.com/plotly/plotly-py-4-0-is-here-offline-only-express-first-displayable-anywhere-fc444e5659ee https://medium.com/plotly/plotly-py-4-0-is-here-offline-only...), there's no longer any connectivity to their cloud service, it's "offline only". It used to have an offline interface _and_ a connected interface, now it's offline only.
- nicolaskruchten 7y agoPlotly.py is indeed developed primarily by employees of Plotly the company, but it's a 100% free/open-source, MIT licensed library that works totally offline and doesn't depend on any external service or require any kind of registration :) See https://plot.ly/python/is-plotly-free/ https://plot.ly/python/is-plotly-free/ for full details.