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?
import matplotlib.pyplot as pyplot
import matplotlib.axes3d as p3
fig = pyplot.figure()
ax = p3.Axes3D(fig)