'Convenience method for manipulating the ScalarFormatter
used by default for linear axes in Axed3D objects.
See :meth:`matplotlib.axes.Axes.ticklabel_format` for full
documentation.  Note that this version applies to all three
axes of the Axes3D object.  Therefore, the *axis* argument
will also accept a value of \'z\' and the value of \'both\' will
apply to all three axes.
.. versionadded :: 1.1.0
This function was added, but not tested. Please report any bugs.'

def ticklabel_format(self, **kwargs):

    style = kwargs.pop(u'style', u'').lower()
    scilimits = kwargs.pop(u'scilimits', None)
    useOffset = kwargs.pop(u'useOffset', None)
    axis = kwargs.pop(u'axis', u'both').lower()
    if (scilimits is not None):
        try:
            (m, n) = scilimits
            ((m + n) + 1)
        except (ValueError, TypeError):
            raise ValueError(u'scilimits    must    be    a    sequence    of    2    integers')
    if (style[:3] == u'sci'):
        sb = True
    elif (style in [u'plain', u'comma']):
        sb = False
        if (style == u'plain'):
            cb = False
        else:
            cb = True
            raise NotImplementedError(u'comma    style    remains    to    be    added')
    elif (style == u''):
        sb = None
    else:
        raise ValueError(u'%s    is    not    a    valid    style    value')
    try:
        if (sb is not None):
            if (axis in [u'both', u'z']):
                self.xaxis.major.formatter.set_scientific(sb)
            if (axis in [u'both', u'y']):
                self.yaxis.major.formatter.set_scientific(sb)
            if (axis in [u'both', u'z']):
                self.zaxis.major.formatter.set_scientific(sb)
        if (scilimits is not None):
            if (axis in [u'both', u'x']):
                self.xaxis.major.formatter.set_powerlimits(scilimits)
            if (axis in [u'both', u'y']):
                self.yaxis.major.formatter.set_powerlimits(scilimits)
            if (axis in [u'both', u'z']):
                self.zaxis.major.formatter.set_powerlimits(scilimits)
        if (useOffset is not None):
            if (axis in [u'both', u'x']):
                self.xaxis.major.formatter.set_useOffset(useOffset)
            if (axis in [u'both', u'y']):
                self.yaxis.major.formatter.set_useOffset(useOffset)
            if (axis in [u'both', u'z']):
                self.zaxis.major.formatter.set_useOffset(useOffset)
    except AttributeError:
        raise AttributeError(u'This    method    only    works    with    the    ScalarFormatter.')
