class_docstr: base class for a 4-panel imshow (RGB, R, G, B)
  
  Layout:
  +---------------+-----+
  |               |  R  |
  +               +-----+
  |      RGB      |  G  |
  +               +-----+
  |               |  B  |
  +---------------+-----+
  
  Attributes
  ----------
  _defaultAxesClass : matplotlib.axes.Axes
      defaults to 'Axes' in RGBAxes child class.
      No default in abstract base class
  RGB : _defaultAxesClass
      The axes object for the three-channel imshow
  R : _defaultAxesClass
      The axes object for the red channel imshow
  G : _defaultAxesClass
      The axes object for the green channel imshow
  B : _defaultAxesClass
      The axes object for the blue channel imshow
class_docstr_tok: ["base","class","for","a","4-panel","imshow","(","RGB",",","R",",","G",",","B",")","Layout",":","+","--","--","--","--","--","--","--","-+","--","--","-+","|","|","R","|","+","+","--","--","-+","|","RGB","|","G","|","+","+","--","--","-+","|","|","B","|","+","--","--","--","--","--","--","--","-+","--","--","-+","Attributes","--","--","--","--","--","_defaultAxesClass",":","matplotlib.axes.Axes","defaults","to","'Axes","'","in","RGBAxes","child","class",".","No","default","in","abstract","base","class","RGB",":","_defaultAxesClass","The","axes","object","for","the","three-channel","imshow","R",":","_defaultAxesClass","The","axes","object","for","the","red","channel","imshow","G",":","_defaultAxesClass","The","axes","object","for","the","green","channel","imshow","B",":","_defaultAxesClass","The","axes","object","for","the","blue","channel","imshow"]
docstr: Create the four images {rgb, r, g, b}
  
  Parameters
  ----------
  r : array-like
      The red array
  g : array-like
      The green array
  b : array-like
      The blue array
  kwargs : imshow kwargs
      kwargs get unpacked into the imshow calls for the four images
  
  Returns
  -------
  rgb : matplotlib.image.AxesImage
  r : matplotlib.image.AxesImage
  g : matplotlib.image.AxesImage
  b : matplotlib.image.AxesImage
docstr_tok: ["Create","the","four","images","{","rgb",",","r",",","g",",","b","}","Parameters","--","--","--","--","--","r",":","array-like","The","red","array","g",":","array-like","The","green","array","b",":","array-like","The","blue","array","kwargs",":","imshow","kwargs","kwargs","get","unpacked","into","the","imshow","calls","for","the","four","images","Returns","--","--","--","-","rgb",":","matplotlib.image.AxesImage","r",":","matplotlib.image.AxesImage","g",":","matplotlib.image.AxesImage","b",":","matplotlib.image.AxesImage"]
code: def imshow_rgb(self, r, g, b, **kwargs):
      """Create the four images {rgb, r, g, b}
  
      Parameters
      ----------
      r : array-like
          The red array
      g : array-like
          The green array
      b : array-like
          The blue array
      kwargs : imshow kwargs
          kwargs get unpacked into the imshow calls for the four images
  
      Returns
      -------
      rgb : matplotlib.image.AxesImage
      r : matplotlib.image.AxesImage
      g : matplotlib.image.AxesImage
      b : matplotlib.image.AxesImage
      """
      if not (r.shape == g.shape == b.shape):
          raise ValueError(
              "Input shapes do not match."
              "\nr.shape = {}"
              "\ng.shape = {}"
              "\nb.shape = {}".format(r.shape, g.shape, b.shape)
          )
      RGB = np.dstack([r, g, b])
      R = np.zeros_like(RGB)
      R[:, :, 0] = r
      G = np.zeros_like(RGB)
      G[:, :, 1] = g
      B = np.zeros_like(RGB)
      B[:, :, 2] = b
  
      im_rgb = self.RGB.imshow(RGB, **kwargs)
      im_r = self.R.imshow(R, **kwargs)
      im_g = self.G.imshow(G, **kwargs)
      im_b = self.B.imshow(B, **kwargs)
  
      return im_rgb, im_r, im_g, im_b
  
file_path: catboost/contrib/python/matplotlib/py2/mpl_toolkits/axes_grid1/axes_rgb.py
imports: from __future__ import absolute_import, division, print_function, unicode_literals
  import six
  import numpy
  from .axes_divider import make_axes_locatable, Size, locatable_axes_factory
  import sys
  from .mpl_axes import Axes
label_desc: Use image node_id 4 for calling the RGBAxesBase obj's underlying member method code with example usage: obj.imshow_rgb(r, g, b) and returns: im_rgb,  im_r,  im_g,  im_b