attempt to fix matplotlib error on remote machine