'Set the elevation and azimuth of the axes.
This can be used to rotate the axes programatically.
\'elev\' stores the elevation angle in the z plane.
\'azim\' stores the azimuth angle in the x,y plane.
if elev or azim are None (default), then the initial value
is used which was specified in the :class:`Axes3D` constructor.'

def view_init(self, elev=None, azim=None):

    self.dist = 10
    if (elev is None):
        self.elev = self.initial_elev
    else:
        self.elev = elev
    if (azim is None):
        self.azim = self.initial_azim
    else:
        self.azim = azim
