This post has a list of tiny matplotlib tips. There is a lot of indications on internet discussing about how to do things with matplotlib. Here, are written few cases to don’t forget about them! Some implementations might be changes for new versions of matplotlib (after v3 ahead).
How to Change the fonts
There are several possible directories where the matplotlib preference files are stored. In my Linux Distribution they are at /home/USER/.matplotlib, therefore to see if a specific font is avaliable we could write in the terminal.
Because this file has the names on the fontList.cache of matplotlib then to choose one font, for example, Gentium Basic that we have checked that is in fontList.cache
Also this can be change directly in the matplotlib rc file. I recommend also take a look to the matplotlib font API.
Plotting Time Series
Just an illustrative example on how to plot time series by including a date-time object.