Return the (x, y) unitless position of the text.
(self)
| 1006 | return self._horizontalalignment |
| 1007 | |
| 1008 | def get_unitless_position(self): |
| 1009 | """Return the (x, y) unitless position of the text.""" |
| 1010 | # This will get the position with all unit information stripped away. |
| 1011 | # This is here for convenience since it is done in several locations. |
| 1012 | x = float(self.convert_xunits(self._x)) |
| 1013 | y = float(self.convert_yunits(self._y)) |
| 1014 | return x, y |
| 1015 | |
| 1016 | def get_position(self): |
| 1017 | """Return the (x, y) position of the text.""" |
no test coverage detected