4 ms·
I've found Lets-Plots [0] to my least painful plotting option for Python so far. I'm so used to the grammar of graphics from ggplot, especially compared to plot
by techwizrd 3y ago
I've found Lets-Plots [0] to my least painful plotting option for Python so far. I'm so used to the grammar of graphics from ggplot, especially compared to plotting in matplotlib or seaborn.
0: https://lets-plot.org/ https://lets-plot.org/
- alexhutcheson 3y agoVega-Altair is pretty great as well. It uses a grammar of graphics that’s slightly different from ggplot, but has most of the same advantages. https://altair-viz.github.io/ https://altair-viz.github.io/
- unnah 3y agoInteresting. It seems the major difference with plotnine is that lets-plot is implemented in Kotlin and the Python package uses a Python-Kotlin bridge. Both lets-plot and plotnine are available under the MIT license. It looks like lets-plot does not implement the ggplot2 theme interface yet, unlike plotnine which is 99.99% compatible with ggplot2. On the other hand lets-plot also includes additional geospatial functionality on top of basic ggplot2 compatibility.
- alshan200 3y agoLets-plot does implement theme and more - flavors (i.e. color profiles) take a look: https://lets-plot.org/pages/charts.html#presentation-options-icon-presentation-options https://lets-plot.org/pages/charts.html#presentation-options...
- unnah 3y agoOk, thanks - not sure how I missed that. I guess the conclusion is that we now have two pretty much complete reimplementations of ggplot2 available in Python.