def set_name(self, name="My Colormap"):
        """
        Sets the name.

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