原来plot之后的at 0x233412这种提示不是报错,显示图表需要再用plot函数
-----------------------------
初学python 3.6, 在ipython中使用import matplotlib.pyplot as plt报错如下:
ModuleNotFoundError: No module named 'ipykernel'
在网上没找到关于python 3.6的问题说明。。。
经命令行检查,matplotlib应该是通过pip安装过了,如下:
pip install matplotlib
Requirement already satisfied: matplotlib in c:\users\jack\appdata\local\programs\python\python36\lib\site-packages
Requirement already satisfied: python-dateutil in c:\users\jack\appdata\local\programs\python\python36\lib\site-packages (from matplotlib)
Requirement already satisfied: pytz in c:\users\jack\appdata\local\programs\python\python36\lib\site-packages (from matplotlib)
Requirement already satisfied: numpy>=1.7.1 in c:\users\jack\appdata\local\programs\python\python36\lib\site-packages (from matplotlib)
Requirement already satisfied: cycler>=0.10 in c:\users\jack\appdata\local\programs\python\python36\lib\site-packages (from matplotlib)
Requirement already satisfied: six>=1.10 in c:\users\jack\appdata\local\programs\python\python36\lib\site-packages (from matplotlib)
Requirement already satisfied: pyparsing!=2.0.4,!=2.1.2,!=2.1.6,>=1.5.6 in c:\users\jack\appdata\local\programs\python\python36\lib\site-packages (from matplotlib)