Plotnine: Grammar of Graphics for Python

Author

Dr. Joscelin Rocha-Hidalgo

Published

December 22, 2021

Buy me a coffeeBuy me a coffee


By Jeroen Janssens

Excerpt from site: “plotnine is a data visualisation package for Python based on the grammar of graphics, created by Hassan Kibirige. Its API is similar to ggplot2, a widely successful R package by Hadley Wickham and others”.

  1. Link to post here: https://datascienceworkshops.com/blog/plotnine-grammar-of-graphics-for-python/

Hexbin plot showing the relationship between diamond carat and price, with color intensity representing count; higher carat diamonds generally have higher prices.

Back to top