+
     ]ik  c                   sX    ^ RI Ht ^ RIt^RIHtHt ^RIHtH	t	 RR lt
 ! R R4      tR# )	    )
MethodTypeN)make_axes_locatableSize)AxesSimpleAxisArtistc                sb   \        V 4      pV\        P                  ! V 4      ,          p^^V,          ,
          ^,          \        P                  ! V 4      ,          p^^V,          ,
          ^,          \        P                  ! V 4      ,          pVP	                  \        P                  ! V 4      WV.4       VP                  WuWuV.4       V P                  VP                  ^ ^ RR7      4       . pVf   \        V 4      pR	 F  p	V! V P                  4       V P                  RR7      3RV RV /VB p
VP                  ^V	R7      pV
P                  V4       V
P                  P                  4       V
P                  P                  4       ,            F  pVP                  R4       K  	   V
P                  P!                  4        F  pVP"                  P                  R4       K   	  VP'                  V
4       K  	  V P                  4       pV F  p
VP)                  V
4       K  	  V#   \$         d     LNi ; i)
at  
Parameters
----------
ax : `~matplotlib.axes.Axes`
    Axes instance to create the RGB Axes in.
pad : float, optional
    Fraction of the Axes height to pad.
axes_class : `matplotlib.axes.Axes` or None, optional
    Axes class to use for the R, G, and B Axes. If None, use
    the same class as *ax*.
**kwargs
    Forwarded to *axes_class* init for the R, G, and B Axes.
)Zny1T)ZoriginalZsharexZsharey)ZnxnyFi)i      r    )r   r   ZAxesYZAxesXZset_horizontalZset_verticalZset_axes_locatorZnew_locatorZtype
get_figureZget_positionyaxisZget_ticklabelsxaxisZset_visibleaxisZvaluesZmajor_ticklabelsZAttributeErrorZappendadd_axes)axpad
axes_classkwargsZdividerZpad_sizeZxsizeZysizeZax_rgbr   ax1ZlocatorZtr   Zfigs   &&&,           G/usr/lib64/python3.14/site-packages/mpl_toolkits/axes_grid1/axes_rgb.pymake_rgb_axesr   	   s    ""%GTZZ^#H#gq[DJJrN*E#gq[DJJrN*EDJJrNH<=%5EBC++Aqb+9:F"X
"//4/*H 9 "9+-9179%%r%2W%))+cii.F.F.HHHAMM%  I	)%%11%8 *
 	c  --/CS  M  		s   #<H  H.-H.c                   s<   a  ] tR t^>t o Rt]tR^ /R ltR tRt	V t
R# )RGBAxesuX  
4-panel `~.Axes.imshow` (RGB, R, G, B).

Layout::

    ┌───────────────┬─────┐
    │               │  R  │
    │               ├─────┤
    │      RGB      │  G  │
    │               ├─────┤
    │               │  B  │
    └───────────────┴─────┘

Subclasses can override the ``_defaultAxesClass`` attribute.
By default RGBAxes uses `.mpl_axes.Axes`.

Attributes
----------
RGB : ``_defaultAxesClass``
    The Axes object for the three-channel `~.Axes.imshow`.
R : ``_defaultAxesClass``
    The Axes object for the red channel `~.Axes.imshow`.
G : ``_defaultAxesClass``
    The Axes object for the green channel `~.Axes.imshow`.
B : ``_defaultAxesClass``
    The Axes object for the blue channel `~.Axes.imshow`.
r   c               s   VP                  RV P                  4      pV! V/ VB ;V n        pVP                  4       P	                  V4       \        V3RVRV/VB w  V n        V n        V n        V P                  V P                  V P                  V P                  3 EF8  p\        VP                  \        4      '       d   \        P                  ! V 4      pVP                  \        VP                   ^VP"                  R,          4      \        VP                   ^VP"                  R,          4      \        VP$                  ^VP"                  R,          4      \        VP$                  ^VP"                  R,          4      R7       MVP                  pVR,          P&                  P)                  R	4       VR,          P*                  P-                  R	4       EK;  	  R
# )aR  
Parameters
----------
pad : float, default: 0
    Fraction of the Axes height to put as padding.
axes_class : `~matplotlib.axes.Axes`
    Axes class to use. If not provided, ``_defaultAxesClass`` is used.
*args
    Forwarded to *axes_class* init for the RGB Axes
**kwargs
    Forwarded to *axes_class* init for the RGB, R, G, and B Axes
r   r   bottomtopleftright)r   r   r   r   NNNZwN)Zpop_defaultAxesClassRGBr   r   r   RGBZ
isinstancer   r   r   ZAxisDictZupdater   r
   Zspinesr	   ZlineZ	set_colorZmajor_ticksZset_markeredgecolor)selfr   Zargsr   r   r   r   Zads   &$*,    r   __init__ZRGBAxes.__init__]   si    ZZd.D.DE
"D3F332
  $!.":":$.":28": HHdffdffdff5C#((J//]]4(		+CIIq#**X:NO(Aszz%7HI)#))Q

68JK*399aG9LM	  O XXqEJJ  %qE11#6 6    c           	     s   VP                   VP                   u;8X  d   VP                   8X  g6   M \        RVP                    RVP                    RVP                    R24      h\        P                  ! WV.4      p\        P                  ! V4      pWR&   \        P                  ! V4      pW'R&   \        P                  ! V4      pW8R&   V P
                  P                  ! V3/ VB p	V P                  P                  ! V3/ VB p
V P                  P                  ! V3/ VB pV P                  P                  ! V3/ VB pWW3# )aY  
Create the four images {rgb, r, g, b}.

Parameters
----------
r, g, b : array-like
    The red, green, and blue arrays.
**kwargs
    Forwarded to `~.Axes.imshow` calls for the four images.

Returns
-------
rgb : `~matplotlib.image.AxesImage`
r : `~matplotlib.image.AxesImage`
g : `~matplotlib.image.AxesImage`
b : `~matplotlib.image.AxesImage`
zInput shapes (z, z) do not match)r   r   r    )r   r   i   )r   r   r   )
ZshapeZ
ValueErrornpZdstackZ
zeros_liker   Zimshowr   r   r   )r   ZrZgZbr   r   r   r   r   Zim_rgbZim_rZim_gZim_bs   &&&&,        r   
imshow_rgbZRGBAxes.imshow_rgb}   s   $ 177-agg- 	AGG9Bqwwi~NP Piiq	"MM#'
MM#'
MM#'
//vv}}Q)&)vv}}Q)&)vv}}Q)&)T''r!   )r   r   r   r   N)Z__name__Z
__module__Z__qualname__Z__firstlineno__Z__doc__r   r   r    r#   Z__static_attributes__Z__classdictcell__)Z__classdict__s   @r   r   r   >   s)     8 7! 7@ (  (r!   r   )g{Gz?N)Ztypesr   Znumpyr"   Zaxes_dividerr   r   Zmpl_axesr   r   r   r   ) r!   r   <module>r$      s#      3 ,2j_( _(r!   