HEX
Server: LiteSpeed
System: Linux standart9.isimtescil.net 3.10.0-962.3.2.lve1.5.26.7.el7.x86_64 #1 SMP Wed Oct 2 07:53:12 EDT 2019 x86_64
User: karalev (5310)
PHP: 8.2.29
Disabled: NONE
Upload Files
File: //opt/alt/python27/lib64/python2.7/site-packages/matplotlib/tri/tripcolor.pyo
�
]�3Lc@sIddlmZddlmZddlmZddlZd�ZdS(i����(tPolyCollection(t	Normalize(t
TriangulationNcOs�|js|j�n|jdd�}|jdd�}|jdd�}|jdd�}|jdd�}|jdd�}tj||�\}	}}|	j}
|	j}|	j�}t	j
|
|d	t	jf||d	t	jffd
d�}
t	j|d�}|j
|
j
kr,td
��n||jd
d�}|dkr]d}d}nd}d}|jd|�|jdd�|jd|�t|
|�}|j|�|j|�|dk	r�n|j|�|j|�|dk	s|dk	r|j||�n
|j�|jt�|	jj�}|	jj�}|	jj�}|	jj�}||f||ff}|j|�|j�|j|�|S(sS
    Create a pseudocolor plot of an unstructured triangular grid to
    the :class:`~matplotlib.axes.Axes`.

    The triangulation can be specified in one of two ways; either::

      tripcolor(triangulation, ...)

    where triangulation is a :class:`~matplotlib.tri.Triangulation`
    object, or

    ::

      tripcolor(x, y, ...)
      tripcolor(x, y, triangles, ...)
      tripcolor(x, y, triangles=triangles, ...)
      tripcolor(x, y, mask, ...)
      tripcolor(x, y, mask=mask, ...)
      tripcolor(x, y, triangles, mask, ...)
      tripcolor(x, y, triangles, mask=mask, ...)

    in which case a Triangulation object will be created.  See
    :class:`~matplotlib.tri.Triangulation` for a explanation of these
    possibilities.

    The next argument must be *C*, the array of color values, one per
    point in the triangulation.  The colors used for each triangle
    are from the mean C of the triangle's three points.

    The remaining kwargs are the same as for
    :meth:`~matplotlib.axes.Axes.pcolor`.

    **Example:**

        .. plot:: mpl_examples/pylab_examples/tripcolor_demo.py
    talphag�?tnormtcmaptvmintvmaxtshadingtflat.taxisiis=C array must have same length as triangulation x and y arraysitfacetedg�?tfacet
edgecolorstantialiasedst
linewidthsN(iiii((iiii(g�?(g�?(i(t_holdtclatpoptNoneRtget_from_args_and_kwargstxtytget_masked_trianglestnptconcatenatetnewaxistasarraytshapet
ValueErrortmeant
setdefaultRt	set_alphat	set_arraytset_cmaptset_normtset_climtautoscale_NonetgridtFalsetmintmaxtupdate_datalimtautoscale_viewtadd_collection(taxtargstkwargsRRRRRRttriRRt	trianglestvertstCR
Rt
collectiontminxtmaxxtminytmaxytcorners((sK/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/tri/tripcolor.pyt	tripcolors\%	
		#	








(	tmatplotlib.collectionsRtmatplotlib.colorsRtmatplotlib.tri.triangulationRtnumpyRR:(((sK/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/tri/tripcolor.pyt<module>s