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

Method create_artists

lib/matplotlib/legend_handler.py:351–358  ·  view source on GitHub ↗
(self, legend, orig_handle,
                       xdescent, ydescent, width, height, fontsize, trans)

Source from the content-addressed store, hash-verified

349 return p
350
351 def create_artists(self, legend, orig_handle,
352 xdescent, ydescent, width, height, fontsize, trans):
353 # docstring inherited
354 p = self._create_patch(legend, orig_handle,
355 xdescent, ydescent, width, height, fontsize)
356 self.update_prop(p, orig_handle, legend)
357 p.set_transform(trans)
358 return [p]
359
360
361class HandlerStepPatch(HandlerBase):

Callers

nothing calls this directly

Calls 3

_create_patchMethod · 0.95
update_propMethod · 0.45
set_transformMethod · 0.45

Tested by

no test coverage detected