code: def demo_rgb2():
      fig, ax = plt.subplots()
      ax_r, ax_g, ax_b = make_rgb_axes(ax, pad=0.02)
  
      r, g, b = get_rgb()
      im_r, im_g, im_b, im_rgb = make_cube(r, g, b)
      ax.imshow(im_rgb)
      ax_r.imshow(im_r)
      ax_g.imshow(im_g)
      ax_b.imshow(im_b)
  
      for ax in fig.axes:
          ax.tick_params(direction="in", color="w")
          ax.spines[:].set_color("w")
  
file_path: matplotlib/galleries/examples/axes_grid1/demo_axes_rgb.py
imports: import matplotlib.pyplot
  import numpy
  from matplotlib import cbook
  from mpl_toolkits.axes_grid1.axes_rgb import RGBAxes, make_rgb_axes
label_desc: Use image node_id 4 for calling a global function with example usage: demo_rgb2() without return types