get_ipython().run_line_magic('matplotlib', 'inline')NameError: name 'get_ipython' is not defined
你这个函数名定义了吗?错误提示说 'get_ipython' 没有定义