Skip to content

Commit ba18dc1

Browse files
author
Francis Colas
committed
removing comments and unnecessary line changes
1 parent 3e73646 commit ba18dc1

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

lib/matplotlib/legend_handler.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ def legend_artist(self, legend, orig_handle, fontsize, handlebox):
3636
from matplotlib.patches import Rectangle
3737
import matplotlib.collections as mcoll
3838
import matplotlib.colors as mcolors
39-
import matplotlib.artist as artist
39+
4040

4141
def update_from_first_child(tgt, src):
4242
tgt.update_from(src.get_children()[0])
@@ -600,7 +600,6 @@ def get_first(prop_array):
600600
return prop_array[0]
601601
else:
602602
return None
603-
#artist.Artist.update_from(legend_handle, orig_handle)
604603
legend_handle.set_edgecolor(first_color(orig_handle.get_edgecolor()))
605604
legend_handle.set_facecolor(first_color(orig_handle.get_facecolor()))
606605
legend_handle.set_fill(orig_handle.get_fill())

lib/matplotlib/stackplot.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,6 @@ def stackplot(axes, x, *args, **kwargs):
4949
All other keyword arguments are passed to
5050
:func:`~matplotlib.Axes.fill_between`
5151
52-
5352
Returns *r* : A list of
5453
:class:`~matplotlib.collections.PolyCollection`, one for each
5554
element in the stacked area plot.

0 commit comments

Comments
 (0)