Axes3d vs axes3d matplotlib

前端 未结 2 1721
北荒
北荒 2021-02-20 12:05

I just finished a horrible install of scipy, numpy, and matplotlib on OSX Lion. For some reason, I can\'t do a:

import matplotlib.pyplot as plt
from mpl_toolkits         


        
相关标签:
2条回答
  • 2021-02-20 12:48
    from mpl_toolkits.mplot3d import Axes3D
    

    Please use above command to use the 3D image for an object

    0 讨论(0)
  • 2021-02-20 13:11

    The following two things work for me (watch your capitalization):

    from mpl_toolkits.mplot3d import Axes3D
    from mpl_toolkits.mplot3d import axes3d
    

    But I get the same error for what you wrote (with the d in 3d in lower case). Note that the two imports that do work are not equivalent.

    0 讨论(0)
提交回复
热议问题