def Plot3DMap(self, LabelX, XRange, LabelY, YRange, LabelZ, data3d):
    fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
xs, ys = np.meshgrid(XRange, YRange)
surf = ax.plot_surface(xs, ys, data3d)
ax.set_xlabel(LabelX)
ax.set_ylabel(LabelY)
ax.set_zlabel(LabelZ)
ax.set_zlim(0, 100)
plt.show()
Python/matplotlib mplot3d- how do I set a maximum value for the z-axis?