From 36d2f93069958632c07a49e4eee0f6d8a16fd9da Mon Sep 17 00:00:00 2001 From: Tim Hoffmann <2836374+timhoffm@users.noreply.github.com> Date: Sun, 14 Jul 2019 13:43:30 +0200 Subject: [PATCH] Backport PR #14714: Point towards how to save output of non-interactive backends --- tutorials/introductory/usage.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tutorials/introductory/usage.py b/tutorials/introductory/usage.py index d42f6ead859e..37291ecd8148 100644 --- a/tutorials/introductory/usage.py +++ b/tutorials/introductory/usage.py @@ -406,6 +406,9 @@ def my_plotter(ax, data1, data2, param_dict): # :term:`svg` # ============= ============ ================================================ # +# To save plots using the non-interactive backends, use the +# ``matplotlib.pyplot.savefig('filename')`` method. +# # And here are the user interfaces and renderer combinations supported; # these are *interactive backends*, capable of displaying to the screen # and of using appropriate renderers from the table above to write to