MCPcopy Create free account
hub / github.com/ColdGrub1384/Pyto / update_positions

Method update_positions

site-packages/matplotlib/text.py:2262–2265  ·  view source on GitHub ↗

Update the pixel positions of the annotated point and the text.

(self, renderer)

Source from the content-addressed store, hash-verified

2260 Artist.set_figure(self, fig)
2261
2262 def update_positions(self, renderer):
2263 """Update the pixel positions of the annotated point and the text."""
2264 xy_pixel = self._get_position_xy(renderer)
2265 self._update_position_xytext(renderer, xy_pixel)
2266
2267 def _update_position_xytext(self, renderer, xy_pixel):
2268 """

Callers 1

get_window_extentMethod · 0.95

Calls 2

_get_position_xyMethod · 0.80

Tested by

no test coverage detected