mpl_toolkits.mplot3d.art3d.text_2d_to_3d
- mpl_toolkits.mplot3d.art3d.text_2d_to_3d(obj, z=0, zdir='z', axlim_clip=False)[source]
-
Convert a
Textto aText3Dobject.- Parameters:
-
- zfloat
-
The z-position in 3D space.
- zdir{'x', 'y', 'z', 3-tuple}
-
The direction of the text. Default: 'z'. See
get_dir_vectorfor a description of the values. - axlim_clipbool, default: False
-
Whether to hide text outside the axes view limits.
© 2012–2026 Matplotlib Development Team. All rights reserved.
Licensed under the Matplotlib License Agreement.
https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.mplot3d.art3d.text_2d_to_3d.html