Package com.studentgui.apphelpers
Class PythonPlotter
java.lang.Object
com.studentgui.apphelpers.PythonPlotter
Helper to invoke the repository's Python plot runner asynchronously.
This wrapper launches the repository's Python runner script in a background thread and collects its combined output. It is used by some legacy pages; newer pages prefer the Java-based charting helpers.
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidrunPlotAsync(String moduleName, String studentName, Consumer<String> onComplete) Run the python runner for the given module and student name in a background thread.
-
Method Details
-
runPlotAsync
Run the python runner for the given module and student name in a background thread. TheonCompleteconsumer receives combined stdout/stderr text when the process finishes.- Parameters:
moduleName- module identifier passed to the python runner (non-null)studentName- student display name used by the plotter (non-null)onComplete- optional consumer receiving process output when complete; may be null
-