code: def setup_figure(self, figure):
          
          for th in self.themeables.values():
              th.setup_figure(figure)
docs: Makes any desired changes to the figure object
  
          This method will be called once with a figure object
          before any plotting has completed. Subclasses that
          override this method should make sure that the base
          class method is called.