| 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/tests/__pycache__/ |
Upload File : |
�
G8�c: � � � d dl Zd dlmZ d dlZd dlZd dlmZ d dl m
Z
mZ e
dgdd�� d � � Z e
d
gddd�� d
� � Z
e
dg� d� � Zd� Z e� d� � Z e� d� � Z e� d� � Z e
dgd�� d� � Z e
dgd�� d� � Z e
dgd�� d� � Z e
dgd�� d� � Z e
dgd�� d� � Z e
dgd�� d � � Z e
d!gd�� d"� � Z e
d#gd�� d$� � Z ed%g�&� d'� � Z ed%g�&� d(� � Zd)� Zd*� Zd+� Zd,� Z d-� Z! ed%g�&� d.� � Z" ed%g�&� d/� � Z#d0� Z$d1� Z%d2� Z&d3� Z' ed%g�&� d4� � Z(d5� Z)d6� Z*d7� Z+y)8� N)�assert_allclose)�pyplot)�image_comparison�check_figures_equal�
polar_axes�defaultg�~j�t��?)�style�tolc
� � t j ddd� } dt j z | z }t j � }|j d�� }|j
|| dd� � \ }|j
d
ddd
� � \ }d}| | || }}|j
|g|gd� |j d||fddt dd�� dd�� |j dddd�� y )N� � �?���MbP?� @T��polarz#ee8d18� )�color�lw�r r �r � z#0000ffr � �oza polar annotation)皙�����?r zfigure fraction�blackr �� facecolor�shrink�left�baseline)�xy�xytext�
textcoords�
arrowprops�horizontalalignment�verticalalignment�x�out)�axis�tick1On�tick2On� direction)
�np�arange�pi�plt�figure�add_subplot�plot�annotate�dict�tick_params)�r�theta�fig�ax�line�ind�thisr� thisthetas �=/usr/lib/python3/dist-packages/matplotlib/tests/test_polar.py�test_polar_annotationsr@
s� � � � � �#�s�E�"�A�������!�E�
�*�*�,�C� ���t�� $�B��G�G�E�1�I�!�G�4�E�D��G�G�F�F�)��G�:�E�D�
�C���v�u�S�z�9�E��G�G�Y�K�%��#�&��K�K�$��u�%�#�,��'�$�?�$*�",�
� � �N�N��T�4�5�N�I� �polar_coordsT)r �remove_textr
c �� � t j j ddddd�� } t j � }|j d�� }|j
| � | j |j � |j d t j d
z dft j dz d
fddt dd�� ddd�� |j dd� |j dd� y )Nr �
� r7 � �?)r �alpha�equal)�aspectzthe top� @� $@r g 4@r r r r r r T)r! r"