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

Skip to content

Commit c9be5a6

Browse files
authored
Merge pull request #17622 from anntzer/bboxtypo
Fix typo in description of savefig.bbox.
2 parents 15c0d7c + 19eb624 commit c9be5a6

File tree

2 files changed

+4
-6
lines changed

2 files changed

+4
-6
lines changed

lib/matplotlib/mpl-data/stylelib/classic.mplstyle

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -416,9 +416,8 @@ savefig.edgecolor : w # figure edgecolor when saving
416416
savefig.format : png # png, ps, pdf, svg
417417
savefig.bbox : standard # 'tight' or 'standard'.
418418
# 'tight' is incompatible with pipe-based animation
419-
# backends but will workd with temporary file based ones:
420-
# e.g. setting animation.writer to ffmpeg will not work,
421-
# use ffmpeg_file instead
419+
# backends (e.g. 'ffmpeg') but will work with those
420+
# based on temporary files (e.g. 'ffmpeg_file')
422421
savefig.pad_inches : 0.1 # Padding to be used when bbox is set to 'tight'
423422
savefig.transparent : False # setting that controls whether figures are saved with a
424423
# transparent background by default

matplotlibrc.template

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -660,9 +660,8 @@
660660
#savefig.format: png # {png, ps, pdf, svg}
661661
#savefig.bbox: standard # {tight, standard}
662662
# 'tight' is incompatible with pipe-based animation
663-
# backends but will workd with temporary file based ones:
664-
# e.g. setting animation.writer to ffmpeg will not work,
665-
# use ffmpeg_file instead
663+
# backends (e.g. 'ffmpeg') but will work with those
664+
# based on temporary files (e.g. 'ffmpeg_file')
666665
#savefig.pad_inches: 0.1 # Padding to be used when bbox is set to 'tight'
667666
#savefig.directory: ~ # default directory in savefig dialog box,
668667
# leave empty to always use current working directory

0 commit comments

Comments
 (0)