| Server IP : 35.80.110.71 / Your IP : 216.73.216.221 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�cI � �6 � d Z ddlmZ ddlmZ ddlmZ ddlmZ ddl
mZ ddlZ
G d� d � Z G d
� de� Z G d� d
e� Zd� Z G d� de� Z ee�� Z G d� de� Z ee�� Z G d� de� Z G d� de� Z G d� de� Z ee�� Zy)z�
Defines classes for path effects. The path effects are supported in `.Text`,
`.Line2D` and `.Patch`.
.. seealso::
:doc:`/tutorials/advanced/patheffects_guide`
� )�RendererBase)�colors)�patches)�
transforms)�PathNc �, � e Zd ZdZdd�Zd� Zd� Zdd�Zy) �AbstractPathEffectz�
A base class for path effects.
Subclasses should override the ``draw_path`` method to add effect
functionality.
c � � || _ y)z�
Parameters
----------
offset : (float, float), default: (0, 0)
The (x, y) offset to apply to the path, measured in points.
N)�_offset)�self�offsets �8/usr/lib/python3/dist-packages/matplotlib/patheffects.py�__init__zAbstractPathEffect.__init__ s � � ��� c � � t j � j t |j | j
� � S )z(Apply the offset to the given transform.)�mtransforms�Affine2D� translate�map�points_to_pixelsr )r �renderers r �_offset_transformz$AbstractPathEffect._offset_transform"