
    EVf                     0    d dl mZ d dlZd Zd Zd Zd Zy)    Nc                  t    t        j                  dd      } | d   | d   k(  sJ | d d df   | d d df   k(  sJ y )N      )r   r   r   )gridspecGridSpec)gss    g/var/www/html/software/conda/envs/catlas/lib/python3.12/site-packages/matplotlib/tests/test_gridspec.py
test_equalr
      sH    			1a	 Bd8r$xad8r!Q$x    c                      t        j                  t              5  t        j                  ddg d       ddd       y# 1 sw Y   yxY w)a
    Addresses issue #5835.
    See at https://github.com/matplotlib/matplotlib/issues/5835.
    r   r   r      )width_ratiosNpytestraises
ValueErrorr   r    r   r	   test_width_ratiosr      s7    
 
z	" 8!QY78 8 8	   >Ac                      t        j                  t              5  t        j                  ddg d       ddd       y# 1 sw Y   yxY w)r   r   r   )height_ratiosNr   r   r   r	   test_height_ratiosr      s7    
 
z	" 9!Qi89 9 9r   c                      t        j                  dd      dddf   } t        |       dk(  sJ t        j                  dddd      } t        |       dk(  sJ y )	Nr   r   r   zGridSpec(3, 3)[2:3, 1:3])r   r   )r   r   )r   r   z9GridSpec(2, 2, height_ratios=(3, 1), width_ratios=(1, 3)))r   r   repr)sss    r	   	test_reprr      sl    			1a	 AaC	(B81111			1a)/(.
0B 8CD D Dr   )matplotlib.gridspecr   r   r
   r   r   r   r   r   r	   <module>r       s     &  89Dr   