code: def set_res(self,res):
          
          if isinstance(res,str):
              res = pst_utils.read_resfile(res)
          self.__res = res
docs: reset the private Pst.res attribute
  
          Parameters
          ----------
          res : (varies)
              something to use as Pst.res attribute