| 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
���heI � @ s� d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl
mZ ddlZ
G dd � d �ZG d
d� de�ZG dd
� d
e�Zdd� ZG dd� de�Zeed�ZG dd� de�Zeed�ZG dd� de�ZG dd� de�ZG dd� de�Zeed�ZdS )z�
Defines classes for path effects. The path effects are supported in `.Text`,
`.Line2D` and `.Patch`.
.. seealso::
:ref:`patheffects_guide`
� )�RendererBase)�colors)�patches)�
transforms)�PathNc @ s4 e Zd ZdZddd�Zdd� Zdd� Zd
d
d�Zd S )�AbstractPathEffectz�
A base class for path effects.
Subclasses should override the ``draw_path`` method to add effect
functionality.
�� r c C s
|| _ dS )z�
Parameters
----------
offset : (float, float), default: (0, 0)
The (x, y) offset to apply to the path, measured in points.
N)�_offset)�self�offset� r
�@/usr/local/lib/python3.9/dist-packages/matplotlib/patheffects.py�__init__ s zAbstractPathEffect.__init__c C s t �� jt|j| j�� S )z(Apply the offset to the given transform.)�mtransformsZAffine2D� translate�map�points_to_pixelsr
)r �rendererr
r
r �_offset_transform"