You are reading an old version of the documentation (v2.2.3). For the latest version see https://matplotlib.org/stable/api/_as_gen/mpl_toolkits.mplot3d.art3d.Text3D.html
Version 2.2.3
matplotlib
Fork me on GitHub

mpl_toolkits.mplot3d.art3d.Text3D

class mpl_toolkits.mplot3d.art3d.Text3D(x=0, y=0, z=0, text='', zdir='z', **kwargs)[source]

Text object with 3D position and (in the future) direction.

x, y, z Position of text text Text string to display zdir Direction of text

Keyword arguments are passed onto Text().

draw(renderer)[source]

Draws the Text object to the given renderer.

set_3d_properties(z=0, zdir='z')[source]