code: def show(close=None, block=None):
      """Show all figures as SVG/PNG payloads sent to the IPython clients.
  
      Parameters
      ----------
      close : bool, optional
          If true, a ``plt.close('all')`` call is automatically issued after
          sending all the figures. If this is set, the figures will entirely
          removed from the internal list of figures.
      block : Not used.
          The `block` parameter is a Matplotlib experimental parameter.
          We accept it in the function signature for compatibility with other
          backends.
      """
      if close is None:
          close = InlineBackend.instance().close_figures
      try:
          for figure_manager in Gcf.get_all_fig_managers():
              display(
                  figure_manager.canvas.figure,
                  metadata=_fetch_figure_metadata(
                      figure_manager.canvas.figure
                  ),
              )
      finally:
          show._to_draw = []
          # only call close('all') if any to close
          # close triggers gc.collect, which can be slow
          if close and Gcf.get_all_fig_managers():
              matplotlib.pyplot.close("all")
  
imports: import matplotlib
  from matplotlib import colors
  from matplotlib.backends import backend_agg
  from matplotlib.backends.backend_agg import FigureCanvasAgg
  from matplotlib._pylab_helpers import Gcf
  from matplotlib.figure import Figure
  from IPython.core.interactiveshell import InteractiveShell
  from IPython.core.getipython import get_ipython
  from IPython.core.pylabtools import select_figure_formats
  from IPython.display import display
  from .config import InlineBackend
label_desc: Use image node_id 3 for calling a global function with example usage: show(close, block) without return types