Re:Plotnine: A grammar of graphics for Python
by npgatech on Saturday May 27, 2017 @12:44PM
(#14430785)
I find it the opposite. The syntax is the most intuitive of all plotting applications.
Layers are as follows [1]
1. Data
2. Aesthetic mappings
3. Statistical transformation (stat)
4. Geometric object (geom)
5. Position adjustment
Once you get a hang of this, it becomes easy to create new plots purely from the understanding of the layers. In matplotlib or even in Seaborn, I find myself constantly Googling for examples.
ggplot2 is the most beautiful thing to happen in visualization space!
[1] Wickham, Hadley, and Carson Sievert. "4.4.1 Layers." Ggplot2: Elegant Graphics for Data Analysis. Dordrecht: Springer, 2016. N. pag. Print.
Re:Plotnine: A grammar of graphics for Python
by alsocasey on Saturday May 27, 2017 @12:44PM
(#14430782)
> Is this "grammar of graphics" any good if you invest more time in it?
For some, it was probably one of THE things that kept them using R over something else. Yes, definitely worth it.
Re:Plotnine: A grammar of graphics for Python
by has2k1 on Saturday May 27, 2017 @03:37PM
(#14431595)
There are a few concepts to learn. With a grammar, you can create plots in 5 minutes that would take an hour to create using "the standard syntax". For many people once they experience it, they do not want to go back. You could be one of them.
If I'm to dig in the manual, I might as well build my plots with the standard syntax of any random plotting library.
Is this "grammar of graphics" any good if you invest more time in it?