When z-values become small the z-axis gives wrong magnitude.
Example:
import numpy as np
import matplotlib.pyplot as plt
import matplotlib
print('matplotlib version : ', matplotlib.__version__)
X = np.arange(-5, 5, 0.25)
Y = np.arange(-5, 5, 0.25)
X, Y = np.meshgrid(X, Y)
R = np.sqrt(X**2 + Y**2)
Z = np.sin(R)
r = 0.0001 # scale z values
fig, ax = plt.subplots(subplot_kw={"projection": "3d"})
# Plot the surface.
surf = ax.plot_surface(X, Y, r*Z, cmap=matplotlib.cm.coolwarm,
linewidth=0, antialiased=False)
plt.show()
when taking e.g. r=0.0001 the z-axis should be labelled with 1e-5 or something like that to be correct, but it uses the same exact z-ticks as plotting with r=1.
Edit: added plot. The ticks on the z-axis should be adjusted but aren't. (Just want a an overall 1e-5, for the axis not on each tick)
Expected image for ir = 0.000000000000000000000001 # scale z values ????

