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

Skip to content

Commit 876c8ac

Browse files
committed
BUG : changed default values of legend.*color -> None
1 parent 7f2d297 commit 876c8ac

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/matplotlib/rcsetup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -661,8 +661,8 @@ def __call__(self, s):
661661
# the relative size of legend markers vs. original
662662
'legend.markerscale': [1.0, validate_float],
663663
'legend.shadow': [False, validate_bool],
664-
'legend.facecolor': ['w', validate_color], # background color; white
665-
'legend.edgecolor': ['k', validate_color], # edge color; black
664+
'legend.facecolor': [None, validate_color], # background color; white
665+
'legend.edgecolor': [None, validate_color], # edge color; black
666666

667667

668668
## tick properties

0 commit comments

Comments
 (0)