A some point the plug-in for Autoplot for Python broke. It would work with a call to the magic function "addjavapath", which was borrowed from the Matlab support. This would return the jpype object for the class "org", so you could say
org= javaaddpath()
sc= org.autoplot.ScriptContext
xxs= sc.getCompletions( s )
This no longer works, with Python 3.8.10, and probably many earlier versions.
New documentation should be written which shows how it is used properly, and using more conventional Python code and JPype use. Last, a Jenkins test should be used to verify its use with "python" on the command line, whatever version Linux/Mint is using.
Last edit: Jeremy Faden 2022-06-10
To create an Autoplot GUI from Python:
The Python code autoplot.py has methods which no longer work, like to_qdataset. This needs to be reviewed and corrected.
See also https://pypi.org/project/autoplot/, which will need updating as well.
The python3 on my Mac M1 is a "Mach-O universal binary with 2 architectures" (enter "file
which python3" at the shell), and doesn't load the Java library ( Mach-O 64-bit executable x86_64) properly. Pointing to an arm-based Java doesn't seem to help.Last edit: Jeremy Faden 2022-06-19
See also https://sourceforge.net/p/autoplot/bugs/2466/ and https://github.com/autoplot/python/issues/9
See also https://github.com/jpype-project/jpype/issues/994
We should also review https://pyjnius.readthedocs.io/en/latest/quickstart.html