Skip to content

Commit b7cdd7f

Browse files
committed
Make HandlerStem work
1 parent f5e6a56 commit b7cdd7f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

lib/matplotlib/legend_handler.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -542,11 +542,8 @@ def create_artists(self, legend, orig_handle,
542542

543543
leg_stemlines = []
544544
for thisx, thisy in zip(xdata_marker, ydata):
545-
l = Line2D([thisx, thisx], [bottom, thisy])
546-
leg_stemlines.append(l)
547-
548-
for lm, m in zip(leg_stemlines, stemlines):
549-
self.update_prop(lm, m, legend)
545+
thisline = Line2D([thisx, thisx], [bottom, thisy])
546+
leg_stemlines.append(thisline)
550547

551548
leg_baseline = Line2D([np.min(xdata), np.max(xdata)],
552549
[bottom, bottom])

0 commit comments

Comments
 (0)