Python Get Graphics funktioniert nicht (von JMP Pro 15)Ich erhalte die folgende Fehlermeldung, wenn ich den Code aus dem Scripting-Index ausgeführt werden.
"Python Get Graphics ()" wird noch nicht unterstützt. in Zugang oder Auswertung von 'Python Get Graphics, Get Python-Grafiken.
Der Python-Code funktioniert (nur, wenn Sie es in einem Python-Fenster ausführen).
die gerade Get Graphics funktioniert nicht.
Names Default To Here( 1 );
Python Init();
ml = Python Submit(
"\[
import matplotlib.pyplot as plt
plt.plot([1, 2, 3, 4])
plt.ylabel('some numbers')
plt.show(block=False)
]\"
);
plot = Python Get Graphics(png );
pngJMP = New Window( "Plot", Picture Box( plot ) );
//pngJMP << Close Window;
// Need this command to close the figure generated from Python
Python Submit( "plt.close()" );
Python Term();Hat jemand hat diesen Fehler gesehen. Würde ich tun könnte es zu lösen?
Betreff: Python Get Graphics funktioniert nicht (ab JMP Pro 15)Leider gibt es nichts, was Sie tun können. Die Nachricht, "Python Get Graphics ()" wird noch nicht unterstützt., ist genau für diesen Build. Ich freischalte jetzt diesen Code. Möglicherweise funktionierte dies in einem frühen JMP 14. Dieser Code war eines der Opfer des Versuchs, den Python Init () -Prozess zu stabilisieren und Python selbst für die meisten JMP-Benutzer zum Laufen zu bringen.
Betreff: Python Get Graphics funktioniert nicht (ab JMP Pro 15)Dies ist jetzt in einer zukünftigen Wartungsversion von JMP 15 behoben. Es ist zu spät, um es in die bevorstehende 15.1-Wartungsversion zu schaffen.
Sobald das Update verfügbar ist, muss Ihre Python-Installation sowohl PyQt5 als auch matplotlib sowie alle derzeit erforderlichen Module enthalten - numpy, pandas, scipy, sqlite3.