ggplot coming to Python?

Grammar of graphics

R
python
Author

Mark Isken

Published

October 8, 2013

Note

UPDATE 2023-01-16 See https://plotnine.readthedocs.io/en/stable/ for the latest on GoG/ggplot and python.

When doing analytics in Python, I use matplotlib for plotting and when using R, it’s ggplot2. I like them both. However, the Grammar of Graphics underlying ggplot2 has a certain appeal to me and Hadley Wickham keeps doing amazingly great stuff in the R world. So, it’s quite exciting to hear that the folks at Yhat have taken a shot at bringing ggplot graphics to Python. Check it out at http://blog.yhathq.com/posts/ggplot-for-python.html. Now if only Excel had some ggplot goodness ... sigh. BTW, link at the bottom of the Y-hat post has a nice bit on when to use R vs when to use Excel.