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

Method _set_artist_props

lib/matplotlib/legend.py:653–661  ·  view source on GitHub ↗

Set the boilerplate props for artists added to Axes.

(self, a)

Source from the content-addressed store, hash-verified

651 raise ValueError(f"Invalid labelcolor: {labelcolor!r}")
652
653 def _set_artist_props(self, a):
654 """
655 Set the boilerplate props for artists added to Axes.
656 """
657 a.set_figure(self.get_figure(root=False))
658 if self.isaxes:
659 a.axes = self.axes
660
661 a.set_transform(self.get_transform())
662
663 @_docstring.interpd
664 def set_loc(self, loc=None):

Callers 1

__init__Method · 0.95

Calls 4

set_figureMethod · 0.45
get_figureMethod · 0.45
set_transformMethod · 0.45
get_transformMethod · 0.45

Tested by

no test coverage detected