How-to articles, tricks, and solutions about MATPLOTLIB
Adding a legend to PyPlot in Matplotlib in the simplest manner possible
Here is a simple code snippet that demonstrates how to add a legend to a PyPlot in Matplotlib:
How to change the font size on a matplotlib plot
There are a couple of ways to change the font size on a matplotlib plot.
How to put the legend outside the plot
In matplotlib, the legend function allows you to specify the location of the legend.
Matplotlib make tick labels font size smaller
Here is a code snippet that shows how to make the tick labels font size smaller in Matplotlib: