From 29a67dd0b281b6ee5de48e456d1240981cf646d9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien-Charles=20L=C3=A9vesque?= Date: Mon, 20 Apr 2015 13:48:57 -0400 Subject: [PATCH] fixed facecolor and edgecolor being correctly read from rcParams["legend..."], but never being used in the call to FancyBboxPatch --- lib/matplotlib/legend.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/matplotlib/legend.py b/lib/matplotlib/legend.py index 798121c8aa7d..243064a492ec 100644 --- a/lib/matplotlib/legend.py +++ b/lib/matplotlib/legend.py @@ -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 )