File tree 3 files changed +13
-7
lines changed
doc/api/next_api_changes/behavior
lib/matplotlib/mpl-data/stylelib
3 files changed +13
-7
lines changed Original file line number Diff line number Diff line change
1
+ dark_background and fivethirtyeight styles no longer set ``savefig.facecolor `` and ``savefig.edgecolor ``
2
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3
+
4
+ When using these styles, :rc: `savefig.facecolor ` and :rc: `savefig.edgecolor `
5
+ now inherit the global default value of "auto", which means that the actual
6
+ figure colors will be used. Previously, these rcParams were set to the same
7
+ values as :rc: `figure.facecolor ` and :rc: `figure.edgecolor `, i.e. a saved
8
+ figure would always use the theme colors even if the user manually overrode
9
+ them; this is no longer the case.
10
+
11
+ This change should have no impact for users that do not manually set the figure
12
+ face and edge colors.
Original file line number Diff line number Diff line change @@ -18,9 +18,6 @@ grid.color: white
18
18
figure.facecolor: black
19
19
figure.edgecolor: black
20
20
21
- savefig.facecolor: black
22
- savefig.edgecolor: black
23
-
24
21
### Boxplots
25
22
boxplot.boxprops.color: white
26
23
boxplot.capprops.color: white
Original file line number Diff line number Diff line change @@ -29,10 +29,7 @@ xtick.minor.size: 0
29
29
ytick.major.size: 0
30
30
ytick.minor.size: 0
31
31
32
- font.size:14.0
33
-
34
- savefig.edgecolor: f0f0f0
35
- savefig.facecolor: f0f0f0
32
+ font.size: 14.0
36
33
37
34
figure.subplot.left: 0.08
38
35
figure.subplot.right: 0.95
You can’t perform that action at this time.
0 commit comments