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

Method set_x

lib/matplotlib/text.py:1367–1376  ·  view source on GitHub ↗

Set the *x* position of the text. Parameters ---------- x : float

(self, x)

Source from the content-addressed store, hash-verified

1365 self.set_y(xy[1])
1366
1367 def set_x(self, x):
1368 """
1369 Set the *x* position of the text.
1370
1371 Parameters
1372 ----------
1373 x : float
1374 """
1375 self._x = x
1376 self.stale = True
1377
1378 def set_y(self, y):
1379 """

Callers 9

set_positionMethod · 0.95
drawMethod · 0.45
get_window_extentsMethod · 0.45
update_positionMethod · 0.45
_do_cell_alignmentMethod · 0.45
_offsetMethod · 0.45
_draw_shapeMethod · 0.45
_draw_shapeMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected