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

Skip to content

Commit 36d2f93

Browse files
timhoffmMeeseeksDev[bot]
authored andcommitted
Backport PR #14714: Point towards how to save output of non-interactive backends
1 parent 9a5473d commit 36d2f93

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

tutorials/introductory/usage.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -406,6 +406,9 @@ def my_plotter(ax, data1, data2, param_dict):
406406
# :term:`svg`
407407
# ============= ============ ================================================
408408
#
409+
# To save plots using the non-interactive backends, use the
410+
# ``matplotlib.pyplot.savefig('filename')`` method.
411+
#
409412
# And here are the user interfaces and renderer combinations supported;
410413
# these are *interactive backends*, capable of displaying to the screen
411414
# and of using appropriate renderers from the table above to write to

0 commit comments

Comments
 (0)