| Server IP : 35.80.110.71 / Your IP : 216.73.216.52 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ip-172-31-21-44 6.17.0-1019-aws #19~24.04.1-Ubuntu SMP Tue Jun 23 18:53:06 UTC 2026 x86_64 User : ubuntu ( 1000) PHP Version : 8.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/matplotlib/tests/__pycache__/ |
Upload File : |
�
G8�c� � �0 � d dl mZ d dlZd� Zd� Zd� Zd� Zy)� Nc �t � t j dd� } | d | d k( sJ �| d d �df | d d �df k( sJ �y )N� � )r r r )�gridspec�GridSpec)�gss �@/usr/lib/python3/dist-packages/matplotlib/tests/test_gridspec.py�
test_equalr
sH � � � � �1�a� �B�
�d�8�r�$�x����
�a��d�8�r�!�Q�$�x���� c � � t j t � 5 t j ddg d��� ddd� y# 1 sw Y yxY 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����!�Q�Y�7�8� 8� 8�� �>�Ac � � t j t � 5 t j ddg d��� ddd� y# 1 sw Y yxY w)r
r r )�
height_ratiosNr r r r �test_height_ratiosr s7 � �
���z� "� 9����!�Q�i�8�9� 9� 9�r c � � t j dd� ddd�f } t | � dk( sJ �t j dddd�� } t | � dk( sJ �y ) Nr r r zGridSpec(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 � � � � �1�a� ��A�a�C�� (�B���8�1�1�1�1� � � �1�a�)/�(.�
0�B� ��8�C�D� D� Dr )�matplotlib.gridspecr r r
r r r r r r �<module>r s �� &�
� �8�9�Dr