original_docstring: 
          val is the spinbox value between its min and max
          
docstring: val is the spinbox value between its min and max
docstring_tokens: val is the spinbox value between its min and max
code: def update_slide(self,val):
          """
          val is the spinbox value between its min and max
          """
          min_val=float(self.opts['bounds'][0])
          max_val=float(self.opts['bounds'][1])
  
  
          try:
              self.slider.valueChanged.disconnect(self.update_spinbox)
              self.spinbox.valueChanged.disconnect(self.update_slide)
          except:
              pass
          self.slider.setValue(int((val-min_val)/(max_val-min_val)*100))
          self.slider.valueChanged.connect(self.update_spinbox)
          self.spinbox.valueChanged.connect(self.update_slide)
code_tokens: def update_slide ( self , val ) : min_val = float ( self . opts [ 'bounds' ] [ 0 ] ) max_val = float ( self . opts [ 'bounds' ] [ 1 ] ) try : self . slider . valueChanged . disconnect ( self . update_spinbox ) self . spinbox . valueChanged . disconnect ( self . update_slide ) except : pass self . slider . setValue ( int ( ( val - min_val ) / ( max_val - min_val ) * 100 ) ) self . slider . valueChanged . connect ( self . update_spinbox ) self . spinbox . valueChanged . connect ( self . update_slide )
short_docstring: val is the spinbox value between its min and max
short_docstring_tokens: val is the spinbox value between its min and max
comment: """
          val is the spinbox value between its min and max
          """