(self, artist)
return self.highlights[artist]
Show or create a highlight for a givent artist.
Show or create a highlight for a givent artist.
Show or create a highlight for a givent artist .
def show_highlight(self, artist):
        """Show or create a highlight for a givent artist."""
        # This is a separate method to make subclassing easier.
        if artist in self.highlights:
            self.highlights[artist].set_visible(True)
        else:
            self.highlights[artist] = self.create_highlight(artist)
        return self.highlights[artist]
def show_highlight ( self , artist ) : # This is a separate method to make subclassing easier. if artist in self . highlights : self . highlights [ artist ] . set_visible ( True ) else : self . highlights [ artist ] = self . create_highlight ( artist ) return self . highlights [ artist ]