ax = Axes3D(fig, elev=48, azim=134)
TypeError: 'module' object is not callable<Figure size 360x360 with 0 Axes>
检查代码,前面的代码没有问题,也和是哦i那种代码完全一致
正常运行
相关代码要贴全,不能只给报错的语句。
from mpl_toolkits.mplot3d import axes3d
ax = fig.gca(projection='3d')