8000 Merge pull request #4362 from jclevesque/master · matplotlib/matplotlib@3a66265 · GitHub
[go: up one dir, main page]

Skip to content

Commit 3a66265

Browse files
committed
Merge pull request #4362 from jclevesque/master
FIX : rcParams legend.facecolor and edgecolor never being used cleans up #4193
2 parents 8f9bc7b + 29a67dd commit 3a66265

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/matplotlib/legend.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -357,8 +357,8 @@ def __init__(self, parent, handles, labels,
357357

358358
self.legendPatch = FancyBboxPatch(
359359
xy=(0.0, 0.0), width=1., height=1.,
360-
facecolor=rcParams["axes.facecolor"],
361-
edgecolor=rcParams["axes.edgecolor"],
360+
facecolor=facecolor,
361+
edgecolor=edgecolor,
362362
mutation_scale=self._fontsize,
363363
snap=True
364364
)

0 commit comments

Comments
 (0)
0