code: def set_shellwidget(self, shellwidget):
          
          self.shellwidget = shellwidget
          shellwidget.set_figurebrowser(self)
          shellwidget.sig_new_inline_figure.connect(self._handle_new_figure)
docs: Bind the shellwidget instance to the figure browser