code: def set_name(self, name="My Colormap"):
          
          if not type(name)==str:
              print("set_name(): Name must be a string.")
              return
          self._name = name
          return self
docs: Sets the name.
  
          Make sure the name is something your OS could name a file.