MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / get_legend_handler_map

Method get_legend_handler_map

lib/matplotlib/legend.py:837–841  ·  view source on GitHub ↗

Return this legend instance's handler map.

(self)

Source from the content-addressed store, hash-verified

835 cls._default_handler_map.update(handler_map)
836
837 def get_legend_handler_map(self):
838 """Return this legend instance's handler map."""
839 default_handler_map = self.get_default_handler_map()
840 return ({**default_handler_map, **self._custom_handler_map}
841 if self._custom_handler_map else default_handler_map)
842
843 @staticmethod
844 def get_legend_handler(legend_handler_map, orig_handle):

Callers 2

_init_legend_boxMethod · 0.95
create_artistsMethod · 0.80

Calls 1

Tested by

no test coverage detected