parameters: (self)
return_statement: return [T_lo, T_hi, P_lo, P_hi]
docstring: Get the limits for the graphs in temperature and pressure, based on 
          SI units: [Tmin, Tmax, pmin, pmax]
docstring_summary: Get the limits for the graphs in temperature and pressure, based on 
          SI units: [Tmin, Tmax, pmin, pmax]
docstring_tokens: Get the limits for the graphs in temperature and pressure based on SI units : [ Tmin Tmax pmin pmax ]
function: def _get_Tp_limits(self):
          """Get the limits for the graphs in temperature and pressure, based on 
          SI units: [Tmin, Tmax, pmin, pmax]"""
          T_lo, T_hi, P_lo, P_hi = self.limits
          Ts_lo, Ts_hi = self._get_sat_bounds(CoolProp.iT)
          Ps_lo, Ps_hi = self._get_sat_bounds(CoolProp.iP)
  
          if T_lo is None: T_lo = 0.0
          elif T_lo < self.ID_FACTOR: T_lo *= Ts_lo
          if T_hi is None: T_hi = 1e6
          elif T_hi < self.ID_FACTOR: T_hi *= Ts_hi
          if P_lo is None: P_lo = 0.0
          elif P_lo < self.ID_FACTOR: P_lo *= Ps_lo
          if P_hi is None: P_hi = 1e10
          elif P_hi < self.ID_FACTOR: P_hi *= Ps_hi
  
          try: T_lo = np.nanmax([T_lo, self._state.trivial_keyed_output(CoolProp.iT_min)])
          except: pass
          try: T_hi = np.nanmin([T_hi, self._state.trivial_keyed_output(CoolProp.iT_max)])
          except: pass
          try: P_lo = np.nanmax([P_lo, self._state.trivial_keyed_output(CoolProp.iP_min)])
          except: pass
          try: P_hi = np.nanmin([P_hi, self._state.trivial_keyed_output(CoolProp.iP_max)])
          except: pass
  
          return [T_lo, T_hi, P_lo, P_hi]
function_tokens: def _get_Tp_limits ( self ) : T_lo , T_hi , P_lo , P_hi = self . limits Ts_lo , Ts_hi = self . _get_sat_bounds ( CoolProp . iT ) Ps_lo , Ps_hi = self . _get_sat_bounds ( CoolProp . iP ) if T_lo is None : T_lo = 0.0 elif T_lo < self . ID_FACTOR : T_lo *= Ts_lo if T_hi is None : T_hi = 1e6 elif T_hi < self . ID_FACTOR : T_hi *= Ts_hi if P_lo is None : P_lo = 0.0 elif P_lo < self . ID_FACTOR : P_lo *= Ps_lo if P_hi is None : P_hi = 1e10 elif P_hi < self . ID_FACTOR : P_hi *= Ps_hi try : T_lo = np . nanmax ( [ T_lo , self . _state . trivial_keyed_output ( CoolProp . iT_min ) ] ) except : pass try : T_hi = np . nanmin ( [ T_hi , self . _state . trivial_keyed_output ( CoolProp . iT_max ) ] ) except : pass try : P_lo = np . nanmax ( [ P_lo , self . _state . trivial_keyed_output ( CoolProp . iP_min ) ] ) except : pass try : P_hi = np . nanmin ( [ P_hi , self . _state . trivial_keyed_output ( CoolProp . iP_max ) ] ) except : pass return [ T_lo , T_hi , P_lo , P_hi ]