我希望能够在Jython中使用Matplotlib进行图形化,以便我可以在Python中使用ABAGAIL .

ABAGAIL:https://github.com/pushkar/ABAGAIL

Jython似乎不支持Matplotlib . 但是我发现了如何在Jython中调用Python的以下想法:Invoking Jython from Python (or Vice Versa)

不幸的是,我无法获得他们建议的代码:

import execnet

gw = execnet.makegateway("popen//python=python")
channel = gw.remote_exec("""
    from numpy import *
    a = array([2,3,4])
    channel.send(a.size)
""")

for item in channel:
    print item

主要问题是python = python不起作用 . 我不理解的是如何在我的Windows 10系统上实际指定python(实际上是anaconda)的版本 . 我需要设置什么?

另外,除了matplotlib之外还有一个替代包我可以和Jython一起使用来创建图形吗?