Configuring Matplotlib
In order to have the best experience with any program, we have to configure it to our own preferences; the same holds true for Matplotlib.
Matplotlib provides for massive configurability of plots, and there are several places to control the customization:
Global machine configuration file: This is used to configure Matplotlib for all the users of the machine.
User configuration file: A separate file for each user, where they can choose their own settings, overwriting the global configuration file (note that it will be used by that used any time the given user execute a Matplotlib-related code).
Configuration file in the current directory: Used for specific customization to the current script or program. This is particularly useful in situations when different programs have different needs, and using an external configuration file is better than hardcoding those settings in the code.
Python code in the current script or program or interactive session: To fine...