|
Server : Apache System : Linux server112.speedpacket.com 3.10.0-962.3.2.lve1.5.36.el7.x86_64 #1 SMP Mon May 18 02:16:06 EDT 2020 x86_64 User : equistyl ( 1341) PHP Version : 8.1.30 Disable Function : NONE Directory : /lib64/python2.7/site-packages/matplotlib/ |
Upload File : |
� r`]c @ s� d Z d d l Z d d l Z d d l m Z m Z d d l m Z e j Z d � Z d � Z d � Z d � Z d d d d d d � Z d � Z d d � Z d d d d d � Z d S( s� This module provides routines to adjust subplot params so that subplots are nicely fit in the figure. In doing so, only axis labels, tick labels and axes titles are currently considered. Internally, it assumes that the margins (left_margin, etc.) which are differences between ax.get_tightbbox and ax.bbox are independent of axes position. This may fail if Axes.adjustable is datalim. Also, This will fail for some cases (for example, left or right margin is affected by xlabel). i����N( t TransformedBboxt Bbox( t FontPropertiesc C s | j | j S( N( t xmin( t tight_bboxt axes_bbox( ( s= /usr/lib64/python2.7/site-packages/matplotlib/tight_layout.pyt _get_left s c C s | j | j S( N( t xmax( R R ( ( s= /usr/lib64/python2.7/site-packages/matplotlib/tight_layout.pyt _get_right s c C s | j | j S( N( t ymin( R R ( ( s= /usr/lib64/python2.7/site-packages/matplotlib/tight_layout.pyt _get_bottom s c C s | j | j S( N( t ymax( R R ( ( s= /usr/lib64/python2.7/site-packages/matplotlib/tight_layout.pyt _get_top! s gH�z�G�?c . C s� | \ } } | t d t d � j � d } | d k r] | t d t d � j � d } n | } | d k r� | t d t d � j � d } n | } t | � d k r� t d � � n t | � t | � k r� t d � � n | d k rd } d } d } d } nD | \ } } } } | r-d | } n d } | rFd | } n d } g t | d | � D] } g ^ qa} g t | | d � D] } g ^ q�} t j } | d k rg } xI | D]>