Skip to content

Commit

Permalink
Merge pull request #4362 from jclevesque/master
Browse files Browse the repository at this point in the history
FIX : rcParams legend.facecolor and edgecolor never being used

cleans up #4193
  • Loading branch information
tacaswell committed Apr 21, 2015
2 parents 8f9bc7b + 29a67dd commit 3a66265
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/matplotlib/legend.py
Expand Up @@ -357,8 +357,8 @@ def __init__(self, parent, handles, labels,

self.legendPatch = FancyBboxPatch(
xy=(0.0, 0.0), width=1., height=1.,
facecolor=rcParams["axes.facecolor"],
edgecolor=rcParams["axes.edgecolor"],
facecolor=facecolor,
edgecolor=edgecolor,
mutation_scale=self._fontsize,
snap=True
)
Expand Down

0 comments on commit 3a66265

Please sign in to comment.