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

Method _set_artist_props

lib/matplotlib/axes/_base.py:1246–1254  ·  view source on GitHub ↗

Set the boilerplate props for artists added to Axes.

(self, a)

Source from the content-addressed store, hash-verified

1244 return self._axes_locator
1245
1246 def _set_artist_props(self, a):
1247 """Set the boilerplate props for artists added to Axes."""
1248 a.set_figure(self.get_figure(root=False))
1249 if not a.is_transform_set():
1250 a.set_transform(self.transData)
1251
1252 a.axes = self
1253 if a.get_mouseover():
1254 self._mouseover_set.add(a)
1255
1256 def _gen_axes_patch(self):
1257 """

Callers 9

__clearMethod · 0.95
add_artistMethod · 0.95
add_collectionMethod · 0.95
add_imageMethod · 0.95
add_lineMethod · 0.95
_add_textMethod · 0.95
add_patchMethod · 0.95
add_tableMethod · 0.95
axlineMethod · 0.45

Calls 6

is_transform_setMethod · 0.80
get_mouseoverMethod · 0.80
set_figureMethod · 0.45
get_figureMethod · 0.45
set_transformMethod · 0.45
addMethod · 0.45

Tested by

no test coverage detected