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

Method set_position

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

Set the (*x*, *y*) position of the text. Parameters ---------- xy : (float, float)

(self, xy)

Source from the content-addressed store, hash-verified

1117 self.stale = True
1118
1119 def set_position(self, xy):
1120 """
1121 Set the (*x*, *y*) position of the text.
1122
1123 Parameters
1124 ----------
1125 xy : (float, float)
1126 """
1127 self.set_x(xy[0])
1128 self.set_y(xy[1])
1129
1130 def set_x(self, x):
1131 """

Callers 11

xyannMethod · 0.45
set_label_coordsMethod · 0.45
set_offset_positionMethod · 0.45
_set_text_positionMethod · 0.45
suptitleMethod · 0.45
subplots_adjustMethod · 0.45
_plot_colorbarMethod · 0.45

Calls 2

set_xMethod · 0.95
set_yMethod · 0.95

Tested by

no test coverage detected