+
     ]i,  c                   sD    ^ RI Ht ^ RIHt ^ RItR tR tR tR t	R t
R# )i    Nc                  s4    \         P                  ! ^^4      p R# )   NgridspecGridSpec)gs    E/usr/lib64/python3.14/site-packages/matplotlib/tests/test_gridspec.py
test_equalr      s    			1a	 B    c                     \         P                  ! \        4      ;_uu_ 4        \        P                  ! ^^. ROR7       RRR4       R#   + '       g   i     R# ; i)U
Addresses issue #5835.
See at https://github.com/matplotlib/matplotlib/issues/5835.
)width_ratiosNr          pytestraisesZ
ValueErrorr   r    r   r   test_width_ratiosr      s4    
 
z	"	"!QY7 
#	"	"	"   A		A	c                 r	   )r
   )height_ratiosNr   r   r   r   r   test_height_ratiosr      s4    
 
z	"	"!Qi8 
#	"	"	"r   c                  sv    \         P                  ! ^^4      R,          p \         P                  ! ^^RRR7      p R# )r   )r   r   N)r    :r   r   N)r   r   )r   r   r   )Zssr   r   	test_reprr      s5    			1a	 	(B 
		1a)/(.
0Br   c                  s   \         P                  ! ^^4      w  r\        P                  ! ^^V^ ,          P	                  4       R7      p\
        P                  ! \        RR7      ;_uu_ 4        \        P                  ! ^^V^ ,          R7      pRRR4       \
        P                  ! \        RR7      ;_uu_ 4        \        P                  ! ^^VR7      pRRR4       R#   + '       g   i     LX; i  + '       g   i     R# ; i)r   )Zsubplot_specz%subplot_spec must be type SubplotSpec)ZmatchN)pltZsubplotsr   ZGridSpecFromSubplotSpecZget_subplotspecr   r   Z	TypeError)ZfigZaxsr   s      r   test_subplotspec_argsr   )   s    ||Aq!HC		)	)!Q7:1v7M7M7O
QB 
y(O	P	P--aQH 
Q	y(O	P	P--aE 
Q	P 
Q	P	P	P	Ps   ,!C9C0C-	0D	)Zmatplotlib.gridspecr   Zmatplotlib.pyplotZpyplotr   r   r   r   r   r   r   r   r   r   <module>r      s)    &   89D	Fr   