Я построил это:
fig = plt.figure()
ax = plt.axes(projection= '3d')
zline = np.linspace(0, 16, 10000)
xline = np.sin(zline)
yline = np.cos(zline)
ax.plot3D(xline, yline, zline, 'red')

Однако, когда я строю следующий код, ничего не появляется:
zdata = np.random.random(500)
xaxis = np.sin(zdata)
yaxis = np.cos(zdata)
ax.scatter3D(xaxis, yaxis, zdata, c=zdata, cmap='Greens')
Три это просто <mpl_toolkits.mplot3d.art3d.Path3DCollection at 0x20e10b546c8>
но график не строится? Почему это так?
