mpl_toolkits.axes_grid1.axes_rgb.
RGBAxesBase
(*args, pad=0, add_all=True, **kwargs)[source]¶Bases: object
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 |
Parameters: | pad : float
add_all : bool
axes_class : matplotlib.axes.Axes kl :
kwargs :
|
---|
imshow_rgb
(r, g, b, **kwargs)[source]¶Create the four images {rgb, r, g, b}
Parameters: | r : array-like
g : array-like
b : array-like
kwargs : imshow kwargs
|
---|---|
Returns: | rgb : matplotlib.image.AxesImage r : matplotlib.image.AxesImage g : matplotlib.image.AxesImage b : matplotlib.image.AxesImage |