plotnine¶
plotnine implements The Grammar of Graphics Python based on ggplot2. The grammar allows the simple description of even complex graphics.
See also
- plotnine documentation
API reference, gallery, tutorials etc.
- ggplot2 documentation
plotnine uses a similar API and pipeline as ggplt2.
- Grammar of graphics with plotnine
Good tutorial introducing plotnine as part of a data visualisation track by kaggle.
- Paul Teehan: Plotnine is the best Python implementation of R’s ggplot2
Comparison between plotnine and ggplot2, especially in terms of API compatibility.
- Python Plotting for Exploratory Analysis
A list of plots for exploratory data analysis and how they can be created with different libraries.
- Introduction to Plotnine
Explains the main aspects of plotnine and shows how the library can be used.
- Making Plots With plotnine
An introduction to The Grammar of Graphics and the use of plotnine. This is part of the Data Carpentry course Data Analysis and Visualization in Python for Ecologists.