Terminates the running model and writes the data to disk, if the option was enabled. This function takes no arguments.
Note: The function signature does take one optional argument in order to serve as a Matplotlib callback when the visualization window closes. This argument is not used in the function.
Notes and Examples