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

Skip to content

Commit 8203f27

Browse files
committed
Fix #5419: Set default figure background to white
1 parent 418b7cc commit 8203f27

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

matplotlibrc.template

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ backend : %(backend)s
5959

6060
# When True, the figures rendered in the nbagg backend are created with
6161
# a transparent background.
62-
# nbagg.transparent : True
62+
# nbagg.transparent : False
6363

6464
# if you are running pyplot inside a GUI and your backend choice
6565
# conflicts, we will automatically try to find a compatible one for
@@ -390,8 +390,8 @@ backend : %(backend)s
390390
#figure.titlesize : medium # size of the figure title
391391
#figure.titleweight : normal # weight of the figure title
392392
#figure.figsize : 8, 6 # figure size in inches
393-
#figure.dpi : 100 # figure dots per inch
394-
#figure.facecolor : 0.75 # figure facecolor; 0.75 is scalar gray
393+
#figure.dpi : 100 # figure dots per inch
394+
#figure.facecolor : white # figure facecolor; 0.75 is scalar gray
395395
#figure.edgecolor : white # figure edgecolor
396396
#figure.autolayout : False # When True, automatically adjust subplot
397397
# parameters to make the plot fit the figure

0 commit comments

Comments
 (0)