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 aText to aText3D object.

Parameters:
zfloat

The z-position in 3D space.

zdir{'x', 'y', 'z', 3-tuple}

The direction of the text. Default: 'z'.Seeget_dir_vector for a description of the values.

axlim_clipbool, default: False

Whether to hide text outside the axes view limits.

On this page