4 ms·
Mighty matplotlib isn't going away any time soon, but just because Plotly makes interactive plots, it doesn't mean you can't also a) customize every aspect of
by nicolaskruchten 7y ago
Mighty matplotlib isn't going away any time soon, but just because Plotly makes interactive plots, it doesn't mean you can't also
a) customize every aspect of the chart, from the fonts to the length of the axis ticks to the legend placement etc (see the full list of thousands of available customization attributes here: https://plot.ly/python/reference/ https://plot.ly/python/reference/)
b) export to raster or vector formats for publication (https://plot.ly/python/static-image-export/ https://plot.ly/python/static-image-export/)
c) use high-level grammar-of-graphics-inspired tools like https://plotly.express/ https://plotly.express/ to create complex charts in a single line of code.
- goerz 7y agoI haven't really looked at plotly in a very long time. At that time, it was cloud-based. Having the data I'm plotting sent to ploty's servers, or more generally, my plots depending on the availability of some remote server, was a no-go for me. Has this changed?
- nicolaskruchten 7y agoVery much so! Plotly.py version 4 is "offline-only" just like matplotlib and other libraries: 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...
- goerz 7y agoVery nice! I might give it another try sometime soon, then!