Source: https://exeter-data-analytics.github.io/workshops/intro-to-python/07-Matplotlib.pdf