Heuristics for Translating ggplot2 Code to Plotnine Code

Author

Dr. Joscelin Rocha-Hidalgo

Published

December 13, 2021

Buy me a coffeeBuy me a coffee


By Jeroen Janssens

Excerpt from site: “when it comes to the syntax, you can easily translate 95% of ggplot2 code to plotnine code if you take into account the heuristics listed below. But first, an example”.

  1. Link to post here: https://datascienceworkshops.com/blog/heuristics-for-translating-ggplot2-to-plotnine/

Scatterplot of highway mileage versus engine displacement for different vehicle classes, with a black regression line showing a negative relationship between displacement and mileage.

Back to top