fixes problems plotting on hpac compute server or, more generally,
on systems without running x server