8000 Merge pull request #20955 from anntzer/glh · matplotlib/matplotlib@b5058a5 · GitHub
[go: up one dir, main page]

Skip to content

Commit b5058a5

Browse files
authored
Merge pull request #20955 from anntzer/glh
Remove unused HostAxes._get_legend_handles.
2 parents ceb794c + 62dec87 commit b5058a5

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

lib/mpl_toolkits/axes_grid1/parasite_axes.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -187,12 +187,6 @@ def get_aux_axes(self, tr=None, viewlim_mode="equal", axes_class=Axes):
187187
ax2._remove_method = self.parasites.remove
188188
return ax2
189189

190-
def _get_legend_handles(self, legend_handler_map=None):
191-
all_handles = super()._get_legend_handles()
192-
for ax in self.parasites:
193-
all_handles.extend(ax._get_legend_handles(legend_handler_map))
194-
return all_handles
195-
196190
def draw(self, renderer):
197191
orig_children_len = len(self._children)
198192

0 commit comments

Comments
 (0)
0