class_docstr: Class Duration in development.
class_docstr_tok: ["Class","Duration","in","development","."]
docstr: Subtract two Durations.
  
  = ERROR CONDITIONS
  - If the input rhs is not in the same frame, an error is thrown.
  
  = INPUT VARIABLES
  - rhs     The Duration to subtract.
  
  = RETURN VALUE
  - Returns the difference of ourselves and the input Duration.
docstr_tok: ["Subtract","two","Durations",".","=","ERROR","CONDITIONS","-","If","the","input","rhs","is","not","in","the","same","frame",",","an","error","is","thrown",".","=","INPUT","VARIABLES","-","rhs","The","Duration","to","subtract",".","=","RETURN","VALUE","-","Returns","the","difference","of","ourselves","and","the","input","Duration","."]
code: def __sub__(self, rhs):
      """
      Subtract two Durations.
  
      = ERROR CONDITIONS
      - If the input rhs is not in the same frame, an error is thrown.
  
      = INPUT VARIABLES
      - rhs     The Duration to subtract.
  
      = RETURN VALUE
      - Returns the difference of ourselves and the input Duration.
      """
      self.checkSameFrame(rhs, "sub")
      return Duration(self._frame, self._seconds - rhs._seconds)
  
file_path: matplotlib/lib/matplotlib/testing/jpl_units/Duration.py
imports: import functools
  import operator
  from matplotlib import _api
label_desc: Use image node_id 9 for calling the Duration obj's underlying member method code with example usage: obj.__sub__(rhs) and returns: Duration