This may be relevant:
https://matplotlib.org/stable/api/toolkits/mplot3d/view_angles.html#rotation-with-mouse
I found that using the azel
mouse rotation style would constraint the plot to stay upright. If that's what you meant by disabling vertical camera rotation.