'Clear axes'

def cla(self):

    super(Axes3D, self).cla()
    self.zaxis.cla()
    if (self._sharez is not None):
        self.zaxis.major = self._sharez.zaxis.major
        self.zaxis.minor = self._sharez.zaxis.minor
        (z0, z1) = self._sharez.get_zlim()
        self.set_zlim(z0, z1, emit=False, auto=None)
        self.zaxis._set_scale(self._sharez.zaxis.get_scale())
    else:
        self.zaxis._set_scale(u'linear')
        try:
            self.set_zlim(0, 1)
        except TypeError:
            pass
    self._autoscaleZon = True
    self._zmargin = 0
    self.grid(rcParams[u'axes3d.grid'])
