I have a function (shown below) that would take a 3D numpy array and plot points in 3D.  I recently updated my matplotlib with the latest Enthought Python Distribution and now it doesn't work; I guess matplotlib changed the api a little bit.  

The first problem arises because there is no matplotlib.axes3d anymore.  I can't find the equivalent in the newest version.  Can someone help me figure this out?

Thanks,
Jeremy

#=================== 
import matplotlib.pyplot as pyplot
import matplotlib.axes3d as p3
 
def PlotPoints(P):
    """
    """
    fig = pyplot.figure()
    ax = p3.Axes3D(fig)
    ax.plot3D(P[:,0],P[:,1],P[:,2],'.')
    pyplot.show()
    return ax