Matplotlib - 3D Plotting
Which of the following code snippets correctly initializes a 3D scatter plot axis in matplotlib?
plt.figure() to create a new figure.fig.add_subplot(111, projection='3d') to add a 3D axis to the figure.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions