code: def demo_simple_image(ax):
      Z, extent = get_demo_image()
  
      im = ax.imshow(Z, extent=extent)
      cb = plt.colorbar(im)
      cb.ax.yaxis.set_tick_params(labelright=False)
  
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 2 for calling a global function with example usage: demo_simple_image(ax) without return types