Helpful matplotlib snippets 📈
matplotlib
-- the de-facto library of plotting in Python.
seaborn
-- the golden tool for statistical data visualization. Also comes with nice style defaults.
I have found myself using both libraries frequently with some style preferences that I usually adopt when creating plots. For the sake of reproducibility and convenience, I have collected some of these snippets here.