mpl_toolkits.mplot3d.art3d.text_2d_to_3d#

mpl_toolkits.mplot3d.art3d.text_2d_to_3d(obj, z=0, zdir='z')[source]#

Convert a Text to a Text3D object.

Parameters:
zfloat

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 of the values.