| 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 : |
a
���hĒ � @ s� d Z ddlZddlZddlZddlmZ ddlZddlZddl Z
ddl mZmZ ddl
mZ ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ ddlm Z! ddl"m#Z$ e�%e&�Z'dZ(e�)ej*�Z+e+�,� Z-dd� e+j.�/� D �Z0dd� e-e0 D �Z1G d d
� d
ej2�Z3G dd� de3�Z4G d
d� de3�Z5G dd� d�Z6G dd� d�Z7G dd� dej2�Z8dd� Z9G dd� de8�Z:G dd� de8�Z;dS )z*
Classes for the ticks and x- and y-axis.
� N)�Real)�_api�cbook� c C s g | ]}t |�d �qS �r )�list)�.0�d� r
�9/usr/local/lib/python3.9/dist-packages/matplotlib/axis.py�
<listcomp> � r c C s g | ]}d | �qS �Zgrid_r
)r �namer
r
r r ! s �c s. e Zd ZdZddddddddddddddddddddd�� fdd�
Zd d
� Zedd� �Zd
d� Zdd� Z dd� Z
dd� Ze�
ddd�d6� fdd� �Zdd� Zdd� Zdd� Zd d!� Zejd"d#� �Ze�d�d$d%� �ZeZe�d�d&d'� �Z� fd(d)�Zd*d+� Zd,d-� Zd.d/� Zd0d1� Zd2d3� Zd4d5� Z � Z!S )7�Ticka�
Abstract base class for the axis ticks, grid lines and labels.
Ticks mark a position on an Axis. They contain two lines as markers and
two labels; one each for the bottom and top positions (in case of an
`.XAxis`) or for the left and right positions (in case of a `.YAxis`).
Attributes
----------
tick1line : `~matplotlib.lines.Line2D`
The left/bottom tick marker.
tick2line : `~matplotlib.lines.Line2D`
The right/top tick marker.
gridline : `~matplotlib.lines.Line2D`
The grid line associated with the label position.
label1 : `~matplotlib.text.Text`
The left/bottom tick label.
label2 : `~matplotlib.text.Text`
The right/top tick label.
NTFr )�size�width�color�tickdir�pad� labelsize�
labelcolor�labelfontfamily�zorder�gridOn�tick1On�tick2On�label1On�label2On�major�
labelrotation�
grid_color�grid_linestyle�grid_linewidth�
grid_alphac s� t � �� |du rPtjd }|r4|dv r4tjd }n|sL|dv rLtjd }nd}| �|j� || _|| _|| _| j }|r|dnd}|du r�tj|� d |� d
� }|| _
|du r�tj|� d |� d� }|| _|du r�tj|� d� }|du r�tj|� d |� d
� }|| _| du �rtj|� d� } t
�| d��r<tj|� d� } |du �rVtj|� d� }| �|� |du �r�|�r~tjjd }ntjj}|| _t�|d�}t�|d�}t�|d�}|du �r�t�|��s�tjd }dd� |�� D �}tjg g |d||
|||d� | _tjg g |d|||||d� | _tjg g f|||||dd�|��| _t| j�� _tjt j!t j!|| ||
| j"d d�| _#tjt j!t j!|| ||
| j"d d�| _$| �%|� | j| j| j| j#| j$fD ]}| �&|� �q�| �'|� dS )z�
bbox is the Bound2D bounding box in display coords of the Axes
loc is the tick location in data coords
size is the tick size in points
N�axes.grid.which��bothr � axes.grid�r'