docs: def set_ticks(self, number):
          '''Set the number of frames to animate.
  
          '''
          self.max_index = number
          self.current_index = 0
          self.slider.setMaximum(self.max_index-1)
          self.slider.setMinimum(0)
          self.slider.setPageStep(1)