Seaborn
Seaborn is a Python library for creating statistical visualizations using matplotlib.
Seaborn Cheatsheet
Introduction
Seaborn is a Python visualization library based on matplotlib that provides a high-level interface for drawing attractive statistical graphics.
Basic Steps to Creating Plots
- Prepare some data
- Control figure aesthetics
- Plot with Seaborn
- Further customize your plot
- Show your plot
1. Data
Import Libraries
Create Sample Data
Load Built-in Datasets
2. Figure Aesthetics
Seaborn Styles
Context Functions
Color Palette
3. Plotting With Seaborn
Axis Grids
FacetGrid
Plot Types with FacetGrid
Distribution Plots
Matrix Plots
Categorical Plots
Scatter Plots
Bar Plots
Statistical Plots
4. Further Customizations
Axisgrid Objects
Plot Customization
5. Show or Save Plot
Display Plot
Save Plot
Close & Clear
Last updated on