code: def demo():
      fig = plt.figure(figsize=(6, 6))
  
      # PLOT 1
      # simple image & colorbar
      ax = fig.add_subplot(2, 2, 1)
      demo_simple_image(ax)
  
      # PLOT 2
      # image and colorbar with draw-time positioning -- a hard way
      demo_locatable_axes_hard(fig)
  
      # PLOT 3
      # image and colorbar with draw-time positioning -- an easy way
      ax = fig.add_subplot(2, 2, 3)
      demo_locatable_axes_easy(ax)
  
      # PLOT 4
      # two images side by side with fixed padding.
      ax = fig.add_subplot(2, 2, 4)
      demo_images_side_by_side(ax)
  
      plt.show()
  
file_path: matplotlib/galleries/examples/axes_grid1/demo_axes_divider.py
imports: import matplotlib.pyplot
  from matplotlib import cbook
label_desc: Use image node_id 6 for calling a global function with example usage: demo() without return types