Running the code below (Python 3, matplotlib 2.0.2), I get the following output:
I would prefer, and expect, the graph to cover some of the paths below it. What is going wrong?
import numpy as np
from matplotlib import pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
paths = np.cumsum(np.random.normal(size=(10,10)),axis=0)
ax=plt.figure().gca(projection='3d')
ax.plot(np.tile(range(10),(10,1)).T,paths)
N=30
Y = np.linspace(-5,5, N)
X = np.linspace(0,10,N)
XX, YY = np.meshgrid(X,Y)
ZZ = YY**2
ax.plot_surface(XX, YY, ZZ, alpha=1)
plt.show()