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

Skip to content

Commit 0808634

Browse files
committed
removed unecessary lines
1 parent 04ef849 commit 0808634

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

lib/matplotlib/legend.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -259,7 +259,6 @@ def __init__(self, parent, handles, labels,
259259
else:
260260
self.prop = prop
261261

262-
263262
self._fontsize = self.prop.get_size_in_points()
264263

265264
self.texts = []
@@ -385,9 +384,8 @@ def __init__(self, parent, handles, labels,
385384
# init with null renderer
386385
self._init_legend_box(handles, labels, markerfirst)
387386

388-
# If shadow is activated also use framealpha if not
387+
# If shadow is activated use framealpha if not
389388
# explicitly passed. See Issue 8943
390-
391389
if framealpha is None:
392390
if shadow is True:
393391
self.framealpha = 1

0 commit comments

Comments
 (0)