MCPcopy
hub / github.com/matplotlib/matplotlib / get_position

Method get_position

lib/matplotlib/text.py:1016–1020  ·  view source on GitHub ↗

Return the (x, y) position of the text.

(self)

Source from the content-addressed store, hash-verified

1014 return x, y
1015
1016 def get_position(self):
1017 """Return the (x, y) position of the text."""
1018 # This should return the same data (possible unitized) as was
1019 # specified with 'set_x' and 'set_y'.
1020 return self._x, self._y
1021
1022 def get_text(self):
1023 """Return the text string."""

Callers 15

_get_wrap_line_widthMethod · 0.95
_update_connectorsMethod · 0.45
xyannMethod · 0.45
_axes_posMethod · 0.45
do_constrained_layoutFunction · 0.45
compress_fixed_aspectFunction · 0.45
make_margin_suptitlesFunction · 0.45
get_pos_and_bboxFunction · 0.45
reposition_colorbarFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected