code: def _create_figure(self):
          
          # Good for development
          if get_option('close_all_figures'):
              plt.close('all')
  
          figure = plt.figure()
          axs = self.facet.make_axes(
              figure,
              self.layout.layout,
              self.coordinates)
  
          # Dictionary to collect matplotlib objects that will
          # be targeted for theming by the themeables
          figure._themeable = {}
  
          self.figure = figure
          self.axs = axs
          return figure, axs
docs: Create Matplotlib figure and axes