您的位置: 首页 > 文章 > python报错:TypeError: ‘module‘ object is not callable的解决方法 python报错:TypeError: ‘module‘ object is not callable的解决方法 分类: 文章 • 2023-12-22 15:23:52 在使用python的matplotlib库作图时,报错显示TypeError: ‘module’ object is not callable 这是我原来的代码及报错显示: 后面发现需要在导入时将matplotlib修改为matplotlib.pyplot即可这是我修改后的代码及结果显示