It was further said in that issue that switching to an non-interactive backend could speed things up. Since we're not really using any interactive plotting functionality in pytrnsys (i.e. we're only generating static result plots) we might want to use a non-interactive backend to make things faster.
One way to change the backend to the non-interactive Agg, e.g., is
A user ran into troubles during a post-processing run. She got the following quite unhelpful error message:
It was suggested elsewhere that using a different backend could fix the problem: https://github.com/matplotlib/matplotlib/issues/21950#issuecomment-993643121
It was further said in that issue that switching to an non-interactive backend could speed things up. Since we're not really using any interactive plotting functionality in
pytrnsys
(i.e. we're only generating static result plots) we might want to use a non-interactive backend to make things faster.One way to change the backend to the non-interactive
Agg
, e.g., isThis is what the user did successfully.