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

Method set_position

lib/mpl_toolkits/axes_grid1/axes_divider.py:65–74  ·  view source on GitHub ↗

Set the position of the rectangle. Parameters ---------- pos : tuple of 4 floats position of the rectangle that will be divided

(self, pos)

Source from the content-addressed store, hash-verified

63 return np.array([s.get_size(renderer) for s in self.get_vertical()])
64
65 def set_position(self, pos):
66 """
67 Set the position of the rectangle.
68
69 Parameters
70 ----------
71 pos : tuple of 4 floats
72 position of the rectangle that will be divided
73 """
74 self._pos = pos
75
76 def get_position(self):
77 """Return the position of the rectangle."""

Callers 7

_tick_update_positionFunction · 0.45
_draw_offset_textMethod · 0.45
_draw_labelsMethod · 0.45
set_position_3dMethod · 0.45
_init_locatorsMethod · 0.45
set_subplotspecMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected