| Server IP : 35.80.110.71 / Your IP : 216.73.216.117 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�cGW � � � d Z ddlZddlZddlZddlZddlZddl m
Z ddlm
Z
ej e� Z G d� d� Z ej$ � Zd� Zdd�Zy) a�
A layoutgrid is a nrows by ncols set of boxes, meant to be used by
`._constrained_layout`, each box is analogous to a subplotspec element of
a gridspec.
Each box is defined by left[ncols], right[ncols], bottom[nrows] and top[nrows],
and by two editable margins for each side. The main margin gets its value
set by the size of ticklabels, titles, etc on each axes that is in the figure.
The outer margin is the padding around the axes, and space for any
colorbars.
The "inner" widths and heights of these boxes are then constrained to be the
same (relative the values of `width_ratios[ncols]` and `height_ratios[nrows]`).
The layoutgrid is then constrained to be contained within a parent layoutgrid,
its column(s) and row(s) specified when it is created.
� N)�Bboxc � � e Zd ZdZ dd�Zd� Zd� Zd� Zd� Zdd �Z d
� Z
d� Zd� Zdd
�Z
d� Zd� Zd� Zd� Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zdd�Zd� Zy)�
LayoutGridzG
Analogous to a gridspec, and contained in another LayoutGrid.
N�r r c �x � t j }|| _ || _ || _ |t � z | _ t |t � r |j � d| j � �| _ || _ || _
t j |
� | _
|
�t j |� | _
t j | � | _ | �t j |� | _ | j dz }t |t � s!|| _ t j � | _ n5|| _ |j$ | g|��� | j j"