【记录】关于引入Matplotlib报模块不能用的错误
引入Python绘图模块Matplotlib:
import matplotlib as plt
使用过程中调用 fig = plt.figure(),报错显示:
TypeError:'module'objectisnotcallable
在网上查到的解决办法为,修改引入语句如下:
import matplotlib.pyplot as plt,错误解决
原文地址:
ht...
原创
2019-05-08 03:54:15 ·
2202 阅读 ·
0 评论