code: def setup(self, mute_inline_plotting=None, show_plot_outline=None):
          
          assert self.shellwidget is not None
  
          self.mute_inline_plotting = mute_inline_plotting
          self.show_plot_outline = show_plot_outline
  
          if self.figviewer is not None:
              self.mute_inline_action.setChecked(mute_inline_plotting)
              self.show_plot_outline_action.setChecked(show_plot_outline)
              return
  
          self.figviewer = FigureViewer(background_color=self.background_color)
          self.figviewer.setStyleSheet("FigureViewer{"
                                       "border: 1px solid lightgrey;"
                                       "border-top-width: 0px;"
                                       "border-bottom-width: 0px;"
                                       "border-left-width: 0px;"
                                       "}")
          self.thumbnails_sb = ThumbnailScrollBar(
              self.figviewer, background_color=self.background_color)
  
          # Option actions :
          self.setup_option_actions(mute_inline_plotting, show_plot_outline)
  
          # Create the layout :
          main_widget = QSplitter()
          main_widget.addWidget(self.figviewer)
          main_widget.addWidget(self.thumbnails_sb)
          main_widget.setFrameStyle(QScrollArea().frameStyle())
  
          self.tools_layout = QHBoxLayout()
          toolbar = self.setup_toolbar()
          for widget in toolbar:
              self.tools_layout.addWidget(widget)
          self.tools_layout.addStretch()
          self.setup_options_button()
  
          layout = create_plugin_layout(self.tools_layout, main_widget)
          self.setLayout(layout)
docs: Setup the figure browser with provided settings.