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

Method _get_position_xy

lib/matplotlib/text.py:1798–1800  ·  view source on GitHub ↗

Return the pixel position of the annotated point.

(self, renderer)

Source from the content-addressed store, hash-verified

1796 return self._annotation_clip
1797
1798 def _get_position_xy(self, renderer):
1799 """Return the pixel position of the annotated point."""
1800 return self._get_xy(renderer, self.xy, self.xycoords)
1801
1802 def _check_xy(self, renderer=None):
1803 """Check whether the annotation at *xy_pixel* should be drawn."""

Callers 4

_get_xy_transformMethod · 0.95
_check_xyMethod · 0.95
update_positionsMethod · 0.80
update_positionsMethod · 0.80

Calls 1

_get_xyMethod · 0.95

Tested by

no test coverage detected