Use ggplot and plotnine to Make Scatter Plots in Python
01-November-2020
In this episode, we’re going to use ggplot and plotnine in Python to create a scatter plot with measures
for elevation and energy use by countries around the world. By using plotnine, we can use similar syntax
to describe our graph as we would use in ggplot2 for R. This is very handy as it can allow you to use one
set of methods (or very close) between the two languages. It will also open up the world of graphing in
Python in a different way than just using matplotlib (also a great library) on its own. Climate Change
Data used for the example is from the World Bank.
Analytics project? Contact me today!