Axes3d vs axes3d matplotlib

前端 未结 2 1720
北荒
北荒 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 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.

提交回复
热议问题