mpl_toolkits.mplot3d.axes3d.Axes3D.text
- Axes3D.text(x, y, z, s, zdir=None, **kwargs)[source]
-
Add the text s to the 3D Axes at location x, y, z in data coordinates.
- Parameters:
-
- x, y, zfloat
-
The position to place the text.
- sstr
-
The text.
- zdir{'x', 'y', 'z', 3-tuple}, optional
-
The direction to be used as the z-direction. Default: 'z'. See
get_dir_vector
for a description of the values. - **kwargs
-
Other arguments are forwarded to
matplotlib.axes.Axes.text
.
- Returns:
Examples using mpl_toolkits.mplot3d.axes3d.Axes3D.text
© 2012–2023 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.mplot3d.axes3d.Axes3D.text.html