code: def set_current_thumbnail(self, thumbnail):
          
          self.current_thumbnail = thumbnail
          self.figure_viewer.load_figure(
                  thumbnail.canvas.fig, thumbnail.canvas.fmt)
          for thumbnail in self._thumbnails:
              thumbnail.highlight_canvas(thumbnail == self.current_thumbnail)
docs: Set the currently selected thumbnail.