'Convenience method for controlling tick locators.
See :meth:`matplotlib.axes.Axes.locator_params` for full
documentation  Note that this is for Axes3D objects,
therefore, setting *axis* to \'both\' will result in the
parameters being set for all three axes.  Also, *axis*
can also take a value of \'z\' to apply parameters to the
z axis.
.. versionadded :: 1.1.0
This function was added, but not tested. Please report any bugs.'

def locator_params(self, axis=u'both', tight=None, **kwargs):

    _x = (axis in [u'x', u'both'])
    _y = (axis in [u'y', u'both'])
    _z = (axis in [u'z', u'both'])
    if _x:
        self.xaxis.get_major_locator().set_params(**kwargs)
    if _y:
        self.yaxis.get_major_locator().set_params(**kwargs)
    if _z:
        self.zaxis.get_major_locator().set_params(**kwargs)
    self.autoscale_view(tight=tight, scalex=_x, scaley=_y, scalez=_z)
