https://matplotlib.org/Matplotlib.pdf page 20 (bottom of the page) > To save plots using the non-interactive backends, use the `matplotlib.pyplot`. `savefig('filename')` method. written twice.