parameters: (self)
docstring: Override the base class method. Hide the peak editing tool.
docstring_summary: Override the base class method. Hide the peak editing tool.
docstring_tokens: Override the base class method . Hide the peak editing tool .
function: def hide(self):
          """
          Override the base class method. Hide the peak editing tool.
          """
          if self.tool is not None:
              self.tool.fit_range_changed.disconnect()
              self.tool.disconnect()
              self.tool = None
              self.canvas.draw()
  
          if self.canvas_draw_signal is not None:
              self.canvas.mpl_disconnect(self.canvas_draw_signal)
              self.canvas_draw_signal = None
  
          super(FitPropertyBrowser, self).hide()
          self.setPeakToolOn(False)
function_tokens: def hide ( self ) : if self . tool is not None : self . tool . fit_range_changed . disconnect ( ) self . tool . disconnect ( ) self . tool = None self . canvas . draw ( ) if self . canvas_draw_signal is not None : self . canvas . mpl_disconnect ( self . canvas_draw_signal ) self . canvas_draw_signal = None super ( FitPropertyBrowser , self ) . hide ( ) self . setPeakToolOn ( False )