'Add text to the plot. kwargs will be passed on to Axes.text,
except for the `zdir` keyword, which sets the direction to be
used as the z direction.'

def text(self, x, y, z, s, zdir=None, **kwargs):

    text = super(Axes3D, self).text(x, y, s, **kwargs)
    art3d.text_2d_to_3d(text, z, zdir)
    return text
