Import the Seaborn Library
Seaborn is a extension to Matplotlib with more visually appealing syntax and additional Chart Types. That's why Matplotlib should also be imported. If we want to calculate aggregates we need to import numpy aswell. Bar Plot
If the specified columns need to be aggregated first, Seaborn will perform that aggregation automatically. (mean by default) Seaborn will, by default, provide an error bar displaying the bootstrapped confidence interval(95%). |
Aggregates (with numpy)
KDE (Key Densitiy Estimator) Plots
KDE Plots show the distribution of an univariate dataset. univariate datasets have only one variable. (e.g.: Temperature) shade defines if the are under the line is shaded Boxplots
The box represents the interquartile range The line in the middle of the box is the median The end lines are the first and third quartiles The diamonds show outliers Violin Plots
Two KDE plots that are symmetrical along the center line. (Just for visual effect) A white dot represents the median. The thick black line in the center of each violin represents the interquartile range. The lines that extend from the center are the confidence intervals (95%) |
Seaborn Styling (Figure Style and Scale)
Seaborn Styling (Color)
|
Cheatography
https://cheatography.com
Created By
Metadata
Comments
No comments yet. Add yours below!
Add a Comment
More Cheat Sheets by Justin1209