code: def reset(self):
          
          self.start_point = self.end_point = None
          self.is_emitting_point = False
          self.rubber_band.reset(QgsWkbTypes.PolygonGeometry)
docs: Clear the rubber band for the analysis extents.