| ▲ | Plotnine(plotnine.org) | ||||||||||||||||||||||||||||||||||
| 38 points by tosh 4 days ago | 12 comments | |||||||||||||||||||||||||||||||||||
| ▲ | jpcompartir 28 minutes ago | parent | next [-] | ||||||||||||||||||||||||||||||||||
After plotnine, with a solid & performant (more than the R versions) Python version of Purrr and Dplyr I might never reach for R again! | |||||||||||||||||||||||||||||||||||
| ▲ | qrobit an hour ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
And it comes with tidyverse-like cheatsheet[1] that I confused with ggplot2 when first discovered plotnine [1]: https://github.com/rstudio/cheatsheets/blob/main/plotnine.pd... | |||||||||||||||||||||||||||||||||||
| ▲ | domoritz 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
For another grammar-of-graphics-based visualization library (flexibly compose charts rather than simply pick a template), check out Altair https://altair-viz.github.io. | |||||||||||||||||||||||||||||||||||
| ▲ | jstanley 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
Using operator overloading of "+" to configure the plot is... a choice. | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | piqufoh 2 hours ago | parent | prev | next [-] | ||||||||||||||||||||||||||||||||||
`from plotnine import *` ... I love the idea of a new python plotting library, but why is this anti-pattern so common with plotting libs? | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
| ▲ | globular-toast 2 hours ago | parent | prev [-] | ||||||||||||||||||||||||||||||||||
Back when I did a lot of data stuff I used ggplot in R because it seemed to be popular, but I was just copy/pasting examples. Then one day I finally started to "get it" and actually read the manual. Learning the grammar of graphics was like a super power. I got to the point I could open pretty much anything people sent me and visualise it in a matter of seconds. Although I've used Python professionally a lot more than R, I still felt like R was better at this. Somehow opening files in Python always feels a bit more "heavy". I don't really know why, though. | |||||||||||||||||||||||||||||||||||