4 Quick Tricks For Better Plots in Matplotlib

Easily adding arrows, multiple axes, gradient fill, and more

Brian Mattis
Towards Data Science
6 min readJul 26, 2022

--

When we start learning data visualization methods with tools like matplotlib, we generally start with the simplest possible plots for ease of coding. However, as we begin sharing our visualizations with others, it’s important to customize our plots to craft our message and make everything more visually appealing.

Rather than create complex code and spending hours to make a plot look “just right,” we can drop in a couple of…

--

--