Exemple #1
0
 def unhover_artist(artist: Artist):
     assert isinstance(artist, Text)
     artist.get_bbox_patch().set_color('red')
Exemple #2
0
 def hover_artist(artist: Artist):
     assert isinstance(artist, Text)
     artist.get_bbox_patch().set_color(HOVER_COLOR)