code: def make_cube(r, g, b):
      ny, nx = r.shape
      R = np.zeros((ny, nx, 3))
      R[:, :, 0] = r
      G = np.zeros_like(R)
      G[:, :, 1] = g
      B = np.zeros_like(R)
      B[:, :, 2] = b
  
      RGB = R + G + B
  
      return R, G, B, RGB
  
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 2 for calling a global function with example usage: make_cube(r, g, b) and returns: R,  G,  B,  RGB