plt绘制的图不显示在ipython中,而是单独弹出一个窗口。 设置流程: 进入Tools-Preferences-Ipython console-Graphic将Graphics backend由Inline改为Automatic