Skip to content

Commit db6cf15

Browse files
committed
Fix figure legend when drawing stackplots
1 parent 947590d commit db6cf15

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/matplotlib/legend_handler.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -799,7 +799,6 @@ def get_first(prop_array):
799799
legend_handle.set_linewidth(get_first(orig_handle.get_linewidths()))
800800
legend_handle.set_linestyle(get_first(orig_handle.get_linestyles()))
801801
legend_handle.set_transform(get_first(orig_handle.get_transforms()))
802-
legend_handle.set_figure(orig_handle.get_figure())
803802
# Alpha is already taken into account by the color attributes.
804803

805804
def create_artists(self, legend, orig_handle,

0 commit comments

Comments
 (0)