你写的代码中魔法命令不正确,多写了一个字母c,应该是:%matplotlib inline参考用法:https://blog.csdn.net/liangzuojiayi/article/details/78183783
如果不用 JupyterNotebook 你的程序能运行么?