Bugfix for plotting on HPC cluster