poster
2019-12-10, 20:48
是否可以通过pydev进行交互式会话以使用matplotlib?问题是当解释器在show()命令后停止时,我无法通过外壳访问来驱动图表。我想通过pydev进行互动会议。
matplotlib手册在此处对交互式会话进行了很好的描述: http (http://matplotlib.sourceforge.net/users/shell.html) : //matplotlib.sourceforge.net/users/shell.html (http://matplotlib.sourceforge.net/users/shell.html)
但是,没有提供执行此操作的示例。
回答:
我使用pydev的次数不多, 但是IIRC您可以更改使用的交互式解释器。如果可能,请安装ipython并在pylab模式下使用它(从命令行ipython --pylab)
原来你不能改变口译员。您可以运行解释器命令,以便也许可以以这种方式运行ipython shell,但ipython --pylab终端启动ipython --pylab并在日食会话中运行它会更容易。
高温超导
更多&回答... (https://stackoverflow.com/questions/3918889)
matplotlib手册在此处对交互式会话进行了很好的描述: http (http://matplotlib.sourceforge.net/users/shell.html) : //matplotlib.sourceforge.net/users/shell.html (http://matplotlib.sourceforge.net/users/shell.html)
但是,没有提供执行此操作的示例。
回答:
我使用pydev的次数不多, 但是IIRC您可以更改使用的交互式解释器。如果可能,请安装ipython并在pylab模式下使用它(从命令行ipython --pylab)
原来你不能改变口译员。您可以运行解释器命令,以便也许可以以这种方式运行ipython shell,但ipython --pylab终端启动ipython --pylab并在日食会话中运行它会更容易。
高温超导
更多&回答... (https://stackoverflow.com/questions/3918889)