ó
    sñ:iþ  ã                  óŒ   • S SK Jr  S SKJrJr  S SKJrJr  S SKr	\(       a  S SK
r
S SKJr  S SKJrJrJrJrJr   " S S\5      rg)	é    )Úannotations)ÚABCÚabstractmethod)ÚTYPE_CHECKINGÚAnyN)Ú	ArrayLike)ÚCoordinateArrayÚ
FillReturnÚFillTypeÚ
LineReturnÚLineTypec                  óè  • \ rS rSrSrSS jr\   S           SS jj5       r\     S               SS jj5       r\    S             SS jj5       r	\  S           SS jj5       r
  S           SS	 jjr  S           SS
 jjr\SSS jj5       r\SS j5       r\S S j5       r\SS!S jj5       r\    S"               S#S jj5       rSrg)$ÚRendereré   z"Abstract base class for renderers.c                ó°   • [         R                  " U5      n[         R                  " U5      nUR                  S:X  a  [         R                  " X5      u  pX4$ )Né   )ÚnpÚasarrayÚndimÚmeshgrid)ÚselfÚxÚys      ÚZ/srv/projetos/modelo_ml_acdoc/venv/lib/python3.13/site-packages/contourpy/util/renderer.pyÚ_grid_as_2dÚRenderer._grid_as_2d   s>   € Ü�JŠJ�q‹MˆÜ�JŠJ�q‹MˆØ�6‰6�Q‹;Ü—;’;˜qÓ$‰DˆAØˆtˆó    c                ó   • g ©N© )r   ÚfilledÚ	fill_typeÚaxÚcolorÚalphas         r   r!   ÚRenderer.filled   ó   € ð 	r   Nc                ó   • g r   r    )r   r   r   r#   r$   r%   Úpoint_colorÚquad_as_tri_alphas           r   ÚgridÚRenderer.grid%   ó   € ð 	r   c                ó   • g r   r    )r   ÚlinesÚ	line_typer#   r$   r%   Ú	linewidths          r   r/   ÚRenderer.lines2   s   € ð 	r   c                ó   • g r   r    )r   r   r   Úzr#   r$   s         r   ÚmaskÚRenderer.mask>   r'   r   c                ó~   • Ub  XES'   [        U5       H'  u  pgUc  SUS-   3US'   U R                  " XrU40 UD6  M)     g)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   Úmulti_filledr"   r#   r$   ÚkwargsÚir!   s           r   r;   ÚRenderer.multi_filledI   sM   € ð4 ÑØ#�7‰OÜ" <Ö0‰IˆAØ‰}Ø$% a¨"¡f X ,��w‘Ø�KŠK˜¨2Ñ8°Ô8ò 1r   c                ó~   • Ub  XES'   [        U5       H'  u  pgUc  SUS-   3US'   U R                  " XrU40 UD6  M)     g)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$   r8   r9   )r:   r/   )r   Úmulti_linesr0   r#   r$   r<   r=   r/   s           r   r@   ÚRenderer.multi_linesj   sM   € ð4 ÑØ#�7‰OÜ! +Ö.‰HˆAØ‰}Ø$% a¨"¡f X ,��w‘Ø�JŠJ�u¨Ñ6¨vÔ6ò /r   c                ó   • g r   r    )r   ÚfilenameÚtransparents      r   ÚsaveÚRenderer.save‹   ó   € àr   c                ó   • g r   r    ©r   s    r   Úsave_to_bufferÚRenderer.save_to_buffer�   rG   r   c                ó   • g r   r    rI   s    r   ÚshowÚRenderer.show“   rG   r   c                ó   • g r   r    )r   Útitler#   r$   s       r   rP   ÚRenderer.title—   rG   r   c                ó   • g r   r    )r   r   r   r4   r#   r$   ÚfmtÚquad_as_tris           r   Úz_valuesÚRenderer.z_values›   r-   r   r    )r   r   r   r   Úreturnz'tuple[CoordinateArray, CoordinateArray])r   ÚC0gffffffæ?)r!   r
   r"   úFillType | strr#   r   r$   Ústrr%   ÚfloatrW   ÚNone)r   Úblackgš™™™™™¹?Nr   )r   r   r   r   r#   r   r$   rZ   r%   r[   r)   ú
str | Noner*   r[   rW   r\   )r   rX   g      ð?r   )r/   r   r0   úLineType | strr#   r   r$   rZ   r%   r[   r1   r[   rW   r\   )r   r]   )r   r   r   r   r4   z'ArrayLike | np.ma.MaskedArray[Any, Any]r#   r   r$   rZ   rW   r\   )r   N)r;   zlist[FillReturn]r"   rY   r#   r   r$   r^   r<   r   rW   r\   )r@   zlist[LineReturn]r0   r_   r#   r   r$   r^   r<   r   rW   r\   )F)rC   rZ   rD   ÚboolrW   r\   )rW   z
io.BytesIO)rW   r\   )rP   rZ   r#   r   r$   r^   rW   r\   )r   Úgreenz.1fF)r   r   r   r   r4   r   r#   r   r$   rZ   rS   rZ   rT   r`   rW   r\   )Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Ú__doc__r   r   r!   r+   r/   r5   r;   r@   rE   rJ   rM   rP   rU   Ú__static_attributes__r    r   r   r   r      sâ  † Ù,ôð ð
 ØØðàðð "ðð ð	ð
 ðð ðð 
ôó ðð ð
 ØØØ"&Ø#$ð
àð
ð ð
ð ð	
ð
 ð
ð ð
ð  ð
ð !ð
ð 
ô
ó ð
ð ð
 ØØØð	àð	ð "ð	ð ð		ð
 ð	ð ð	ð ð	ð 
ô	ó ð	ð ð Øðàðð ðð 3ð	ð
 ðð ðð 
ôó ðð Ø ð9à&ð9ð "ð9ð ð	9ð
 ð9ð ð9ð 
õ9ðJ Ø ð7à%ð7ð "ð7ð ð	7ð
 ð7ð ð7ð 
õ7ðB õó ðð óó ðð óó ðð õó ðð ð ØØØ!ð
àð
ð ð
ð ð	
ð
 ð
ð ð
ð ð
ð ð
ð 
ô
ó ó
r   r   )Ú
__future__r   Úabcr   r   Útypingr   r   Únumpyr   ÚioÚnumpy.typingr   Úcontourpy._contourpyr	   r
   r   r   r   r   r    r   r   Ú<module>ro      s.   ðÝ "ç #ß %ã æÛå&ç`Õ`ôVˆsõ Vr   