code: def _resize_plot_inches(plot, width_change=0, height_change=0):
      """Accept a matplotlib figure or axes object and resize it (in inches).
  
      Returns the original object.
  
      Parameters
      ----------
      plot : matplotlib.Figure() or matplotlib.Axes()
          The matplotlib Figure/Axes object to be resized.
  
      width_change : float, default=0
          The amount of change to be added on to original width.
          Use negative values for reducing figure dimensions.
  
      height_change : float, default=0
          The amount of change to be added on to original height.
          Use negative values for reducing figure dimensions.
  
      Returns
      -------
      plot : matplotlib.Figure() or matplotlib.Axes()
          The matplotlib Figure/Axes object after being resized.
  
      """
      try:
          orig_size = plot.figure.get_size_inches()
      except AttributeError:
          orig_size = plot.get_size_inches()
      new_size = (
          orig_size[0] + width_change,
          orig_size[1] + height_change,
      )
      try:
          plot.figure.set_size_inches(new_size, forward=True)
      except AttributeError:
          plot.set_size_inches(new_size)
      return plot
  
imports: import os
  import string
  import warnings
  from collections import OrderedDict
  from collections.abc import Iterable
  from html import escape
  import numpy
  import pandas
  from matplotlib import pyplot
  from nilearn.plotting import plot_glass_brain, plot_roi, plot_stat_map
  from nilearn.plotting.img_plotting import MNI152TEMPLATE
  from nilearn.plotting.matrix_plotting import plot_contrast_matrix, plot_design_matrix
  from nilearn.reporting.html_report import HTMLReport
  from .._utils import fill_doc
  from nilearn._utils import check_niimg
  from nilearn.maskers import NiftiMasker
  from nilearn.reporting.get_clusters_table import get_clusters_table
  from nilearn.reporting.utils import figure_to_svg_quoted
label_desc: Use image node_id 10 for calling a global function with example usage: _resize_plot_inches(plot, width_change, height_change) and returns: plot