Jen
0
Q:

3D plot matplotlib

import matplotlib.pyplot as plt
from mpl_toolkits.mplot3d import Axes3D
fig = plt.figure()
ax = fig.add_subplot(111, projection='3d')
5
from mpl_toolkits import mplot3d
import matplotlib.pyplot as plt

fig = plt.figure()
ax = plt.axes(projection="3d")

plt.show()
# heres what it looks like when you run this code
# https://i.imgur.com/APJny4a.png
0

New to Communities?

Join the community