我可以导入matplotlib,但是当我尝试运行以下代码时:
matplotlib.pyplot(x)
Run Code Online (Sandbox Code Playgroud)
我明白了:
Traceback (most recent call last):
File "<pyshell#31>", line 1, in <module>
matplotlib.pyplot(x)
AttributeError: 'module' object has no attribute 'pyplot'
Run Code Online (Sandbox Code Playgroud)