Set the *z* position and direction of the text. Parameters ---------- z : float The z-position in 3D space. zdir : {'x', 'y', 'z', 3-tuple} The direction of the text. Default: 'z'. See `.get_dir_vector` for a description o
(self, z=0, zdir='z', axlim_clip=False)
| 193 | self.stale = True |
| 194 | |
| 195 | def set_3d_properties(self, z=0, zdir='z', axlim_clip=False): |
| 196 | """ |
| 197 | Set the *z* position and direction of the text. |
| 198 | |
| 199 | Parameters |
| 200 | ---------- |
| 201 | z : float |
| 202 | The z-position in 3D space. |
| 203 | zdir : {'x', 'y', 'z', 3-tuple} |
| 204 | The direction of the text. Default: 'z'. |
| 205 | See `.get_dir_vector` for a description of the values. |
| 206 | axlim_clip : bool, default: False |
| 207 | Whether to hide text outside the axes view limits. |
| 208 | |
| 209 | .. versionadded:: 3.10 |
| 210 | """ |
| 211 | self._z = z |
| 212 | self._dir_vec = get_dir_vector(zdir) |
| 213 | self._axlim_clip = axlim_clip |
| 214 | self.stale = True |
| 215 | |
| 216 | @artist.allow_rasterization |
| 217 | def draw(self, renderer): |