docs: def inspect_figure(fig):
          """Get the parameters (heigth, width, etc.) to create a figure
  
          This method returns the number of the figure and a dictionary
          containing the necessary information for the
          :func:`matplotlib.pyplot.figure` function"""
          return fig.number, {
              'num': fig.number,
              'figsize': (fig.get_figwidth(), fig.get_figheight()),
              'dpi': fig.get_dpi() / getattr(fig.canvas, '_dpi_ratio', 1),
              'facecolor': fig.get_facecolor(),
              'edgecolor': fig.get_edgecolor(),
              'frameon': fig.get_frameon(),
              'tight_layout': fig.get_tight_layout(),
              'subplotpars': vars(fig.subplotpars)}