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

Skip to content

Commit d2f6bea

Browse files
committed
Fix #5419: Set default figure background to white
1 parent 86b7a59 commit d2f6bea

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 : $TEMPLATE_BACKEND
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
@@ -407,8 +407,8 @@ backend : $TEMPLATE_BACKEND
407407
#figure.titlesize : medium # size of the figure title
408408
#figure.titleweight : normal # weight of the figure title
409409
#figure.figsize : 8, 6 # figure size in inches
410-
#figure.dpi : 100 # figure dots per inch
411-
#figure.facecolor : 0.75 # figure facecolor; 0.75 is scalar gray
410+
#figure.dpi : 100 # figure dots per inch
411+
#figure.facecolor : white # figure facecolor; 0.75 is scalar gray
412412
#figure.edgecolor : white # figure edgecolor
413413
#figure.autolayout : False # When True, automatically adjust subplot
414414
# parameters to make the plot fit the figure

0 commit comments

Comments
 (0)