Unable to save plot to pdf

Maybe related to this?