| 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/__pycache__/ |
Upload File : |
�
G8�c"8 � � � d Z ddlZddlZddlmZmZ ddlm Z ddl
mZ dd�Z ej d� dd�� Zdd �Z d
d
�Zy)a�
Routines to adjust subplot params so that subplots are
nicely fit in the figure. In doing so, only axis labels, tick labels, axes
titles and offsetboxes that are anchored to axes are currently considered.
Internally, this module assumes that the margins (left margin, etc.) which are
differences between ``Axes.get_tightbbox`` and ``Axes.bbox`` are independent of
Axes position. This may fail if ``Axes.adjustable`` is ``datalim`` as well as
such cases as when left or right margin are affected by xlabel.
� N)�_api�artist)�FontProperties)�Bboxc
� � |\ }
}t t j d �� j � dz }||z }
|�||z n|
}|�||z n|
}t |� t |� k7 st |� dk( rt
�| � dx}x}x}}n| \ }}}}|rd|z
nd}|rd|z
nd}t
j |
dz |f� }t
j |
|dz f� }|�B|D ��cg c]5 }t j |D �cg c] }|j d�� �� c}� ��7 }}}t |||� D �]O \ }}\ }}t d � |D � � r�g }|D ]- }|j � s�|t j ||� gz
}�/ t j |� }| j j# � j% |� }|||j&