code: def markers(self, values):
          
          if not isinstance(values, list):
              raise TypeError("Markers must be a list of objects")
  
          self.options["markers"] = values
docs: Set the markers.
  
              Args:
                  values (list): list of marker objects.
  
              Raises:
                  ValueError: Markers must be a list of objects.