+
    ,i                        ^ RI Ht ^ RIHtHt ^ RIHtHt ^ RIt	]'       d   ^ RI
t
^ RIHt ^ RIHtHtHtHtHt  ! R R]4      tR# )	    )annotations)ABCabstractmethod)TYPE_CHECKINGAnyN)	ArrayLike)CoordinateArray
FillReturnFillType
LineReturnLineTypec                  (   ] tR t^tRtR R lt]RR R ll4       t]RR R ll4       t]RR	 R
 ll4       t	]RR R ll4       t
R R R lltR R R llt]R!R R ll4       t]R R l4       t]R R l4       t]R R R ll4       t]R"R R ll4       tRtR# )#Rendererz"Abstract base class for renderers.c               $    V ^8  d   QhRRRRRR/# )   xr   yreturnz'tuple[CoordinateArray, CoordinateArray] )formats   "9/usr/lib/python3/dist-packages/contourpy/util/renderer.py__annotate__Renderer.__annotate__   s"      Y 9 9`     c                	    \         P                  ! V4      p\         P                  ! V4      pVP                  ^8X  d   \         P                  ! W4      w  rW3# )   )npasarrayndimmeshgrid)selfr   r   s   &&&r   _grid_as_2dRenderer._grid_as_2d   s>    JJqMJJqM66Q;;;q$DAtr   c               0    V ^8  d   QhRRRRRRRRR	R
RR/# )r   filledr
   	fill_typeFillType | straxr   colorstralphafloatr   Noner   )r   s   "r   r   r      sF       " 	
   
r   c                	    R # Nr   )r!   r%   r&   r(   r)   r+   s   &&&&&&r   r%   Renderer.filled        	r   Nc               8    V ^8  d   QhRRRRRRRRRR	R
RRR	RR/# )r   r   r   r   r(   r   r)   r*   r+   r,   point_color
str | Nonequad_as_tri_alphar   r-   r   )r   s   "r   r   r   &   sZ     
 

 
 	

 
 
  
 !
 

r   c                	    R # r/   r   )r!   r   r   r(   r)   r+   r3   r5   s   &&&&&&&&r   gridRenderer.grid%        	r   c               4    V ^8  d   QhRRRRRRRRR	R
RR
RR/# )r   linesr   	line_typeLineType | strr(   r   r)   r*   r+   r,   	linewidthr   r-   r   )r   s   "r   r   r   3   sP     	 		 "	 		
 	 	 	 
	r   c                	    R # r/   r   )r!   r;   r<   r(   r)   r+   r>   s   &&&&&&&r   r;   Renderer.lines2   s     	r   c               0    V ^8  d   QhRRRRRRRRRR	R
R/# )r   r   r   r   zz'ArrayLike | np.ma.MaskedArray[Any, Any]r(   r   r)   r*   r   r-   r   )r   s   "r   r   r   ?   sF        3	
   
r   c                	    R # r/   r   )r!   r   r   rB   r(   r)   s   &&&&&&r   maskRenderer.mask>   r1   r   c               0    V ^8  d   QhRRRRRRRRR	RR
R/# )r   multi_filledzlist[FillReturn]r&   r'   r(   r   r)   r4   kwargsr   r-   r   )r   s   "r   r   r   I   sF     9 9&9 "9 	9
 9 9 
9r   c                    Ve   WER&   \        V4       F,  w  rgVf   RV^
,           2VR&   V P                  ! WrV3/ VB  K.  	  R# )a  Plot multiple sets of filled contours on a single axes.

Args:
    multi_filled (list of filled contour arrays): Multiple filled contour sets as returned
        by :meth:`.ContourGenerator.multi_filled`.
    fill_type (FillType or str): Type of filled data as returned by
        :attr:`~.ContourGenerator.fill_type`, or string equivalent.
    ax (int or Renderer-specific axes or figure object, optional): Which axes to plot on,
        default ``0``.
    color (str or None, optional): If a string color then this same color is used for all
        filled contours. If ``None``, the default, then the filled contour sets use colors
        from the ``tab10`` colormap in order, wrapping around to the beginning if more than
        10 sets of filled contours are rendered.
    kwargs: All other keyword argument are passed on to
        :meth:`.Renderer.filled` unchanged.

.. versionadded:: 1.3.0
Nr)   C)	enumerater%   )r!   rG   r&   r(   r)   rH   ir%   s   &&&&&,  r   rG   Renderer.multi_filledI   sM    4 #7O"<0IA}$%a"fX,wKK288 1r   c               0    V ^8  d   QhRRRRRRRRR	RR
R/# )r   multi_lineszlist[LineReturn]r<   r=   r(   r   r)   r4   rH   r   r-   r   )r   s   "r   r   r   j   sF     7 7%7 "7 	7
 7 7 
7r   c                    Ve   WER&   \        V4       F,  w  rgVf   RV^
,           2VR&   V P                  ! WrV3/ VB  K.  	  R# )a[  Plot multiple sets of contour lines on a single axes.

Args:
    multi_lines (list of contour line arrays): Multiple contour line sets as returned by
        :meth:`.ContourGenerator.multi_lines`.
    line_type (LineType or str): Type of line data as returned by
        :attr:`~.ContourGenerator.line_type`, or string equivalent.
    ax (int or Renderer-specific axes or figure object, optional): Which axes to plot on,
        default ``0``.
    color (str or None, optional): If a string color then this same color is used for all
        lines. If ``None``, the default, then the line sets use colors from the ``tab10``
        colormap in order, wrapping around to the beginning if more than 10 sets of lines
        are rendered.
    kwargs: All other keyword argument are passed on to
        :meth:`Renderer.lines` unchanged.

.. versionadded:: 1.3.0
Nr)   rJ   )rK   r;   )r!   rO   r<   r(   r)   rH   rL   r;   s   &&&&&,  r   rO   Renderer.multi_linesj   sM    4 #7O!+.HA}$%a"fX,wJJu6v6 /r   c               $    V ^8  d   QhRRRRRR/# )r   filenamer*   transparentboolr   r-   r   )r   s   "r   r   r      s!      S t  r   c                	    R # r/   r   )r!   rS   rT   s   &&&r   saveRenderer.save       r   c                   V ^8  d   QhRR/# )r   r   z
io.BytesIOr   )r   s   "r   r   r      s      
 r   c                	    R # r/   r   r!   s   &r   save_to_bufferRenderer.save_to_buffer   rY   r   c                   V ^8  d   QhRR/# )r   r   r-   r   )r   s   "r   r   r      s      d r   c                	    R # r/   r   r\   s   &r   showRenderer.show   rY   r   c               (    V ^8  d   QhRRRRRRRR/# )	r   titler*   r(   r   r)   r4   r   r-   r   )r   s   "r   r   r      s(      3 C J $ r   c                	    R # r/   r   )r!   rd   r(   r)   s   &&&&r   rd   Renderer.title   rY   r   c               8    V ^8  d   QhRRRRRRRRRRR	RR
RRR/# )r   r   r   r   rB   r(   r   r)   r*   fmtquad_as_trirU   r   r-   r   )r   s   "r   r   r      sZ     
 

 
 	

 
 
 
 
 

r   c                	    R # r/   r   )r!   r   r   rB   r(   r)   rh   ri   s   &&&&&&&&r   z_valuesRenderer.z_values   r9   r   r   )r   C0gffffff?)r   blackg?Nr   )r   rm   g      ?r   )r   rn   )r   N)F)r   greenz.1fF)__name__
__module____qualname____firstlineno____doc__r"   r   r%   r7   r;   rD   rG   rO   rW   r]   ra   rd   rk   __static_attributes__r   r   r   r   r      s    ,   
 
 	 	  9B7B         
 
r   r   )
__future__r   abcr   r   typingr   r   numpyr   ionumpy.typingr   contourpy._contourpyr	   r
   r   r   r   r   r   r   r   <module>r}      s.    " # % &``Vs Vr   