I'm creating a 3D scatter plot using matplotlib and would like to interact with it in jupyter notebook by panning and zooming. However, when I try to use the zoom button on the interactive plot, it acts the same way as the pan button. Is there a way to zoom on interactive 3D plots in jupyter notebook? Here's a MWE that reproduces the issue for me:
import matplotlib.pyplot as plt
import numpy as np
%matplotlib notebook
np.random.seed(1000)
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
N = 100
ax.scatter(np.random.rand(N), np.random.rand(N), np.random.rand(N), '.')