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

Skip to content

Commit 40686cb

Browse files
committed
axes_grid1: fix an error in HostAxesBase._get_legend_handles
1 parent 9693ad5 commit 40686cb

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/mpl_toolkits/axes_grid1/parasite_axes.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -260,7 +260,7 @@ def _get_legend_handles(self, legend_handler_map=None):
260260
all_handles = Axes_get_legend_handles(self, legend_handler_map)
261261

262262
for ax in self.parasites:
263-
all_handles.extend(ax._get_legend_handles)
263+
all_handles.extend(ax._get_legend_handles(legend_handler_map))
264264

265265
return all_handles
266266

0 commit comments

Comments
 (0)