Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5a0fb9d

Browse files
authored
Merge pull request #14714 from paulehoffman/patch-2
Point towards how to save output of non-interactive backends
2 parents d21f1ca + 8a9a9c1 commit 5a0fb9d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

tutorials/introductory/usage.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -389,6 +389,9 @@ def my_plotter(ax, data1, data2, param_dict):
389389
# pdf, svg
390390
# ======== ========= =======================================================
391391
#
392+
# To save plots using the non-interactive backends, use the
393+
# ``matplotlib.pyplot.savefig('filename')`` method.
394+
#
392395
# And here are the user interfaces and renderer combinations supported;
393396
# these are *interactive backends*, capable of displaying to the screen
394397
# and of using appropriate renderers from the table above to write to

0 commit comments

Comments
 (0)