+
    i                        ^ RI HtHt ^ RIHt ^ RIHtHt ^ RIH	t	 ^ RI
Ht ^ RIHtHtHt ^ RIHtHt ^ RIHt ^ R	IHt ^ R
IHtHt ^ RIHtHtHt ^ RIHt ^ RI H!t! ^ RI"t"]! 4        RR lt#RRRR/R lt$R t%]R 4       t&R t'R t(R t)R# )    )Ipi)Eq)Symbolsymbols)re)exp)cossintan)AndOr)plot_implicit)
unset_show)NamedTemporaryFilemkdtemp)skipwarnsXFAIL)import_module)TmpFileManagerN c                 2    \        R V RR7      P                  # )z.pngF)suffixdirdelete)r   namer   r   s   &&e/var/www/html/photoedit/myenv/lib/python3.14/site-packages/sympy/plotting/tests/test_plot_implicit.pytmp_filer       s    s5**.$/    r   r   c                    \        V .VO5/ VB pVP                  \        W!R 7      4       VP                  P	                  4        R# )r   N)r   saver    _backendclose)exprr   r   argskwargsps   &$$*, r   plot_and_saver*      s7    d,T,V,AFF8'(JJr!   c                 <   \        4       p\        P                  ! V4       \        R 4      p\        R4      p\	        \        V\        V4      4      VR^3VR^3WR7       \	        \        V^,          V^,          V,
          4      VR^3VR^3WR7       \	        V^V,          8  VR^3VR^3WR7       \	        V^\        V4      ,          8  VR^3VR^3WR7       \	        V^\        V4      ,          \        V4      ,          8  VR^3VR^3WR7       \	        W2^,          8*  VR^3VR^3WR7       \	        \        V^,          V^,          V,
          4      VR7       \	        \        V^,          V^,          V,
          4      RVR7       \	        \        V^,          V^,          V,
          4      RRVR7       \	        W28  VR^3VR7       \	        \        V\        V4      8  W2^,           8  4      VR7       \	        \        W28  W2) 8  4      VR7       \	        V^,          ^,
          VR^3VR7       \	        V^,          ^,
          VR7       \	        W28  RVR7       \	        W28  ^VR7       \	        V\        V4      8  RVR7       \	        V\        V4      8  RVR7       \	        \        V\        V4      8  \        W28  \        W24      4      4      VR7       \	        V\        \        V,          4      ,
          VR7       \	        V^,          ^,
          R	VR
7       R# )xyr   r   )r   F)adaptiver   i  )r/   nr   )depthr   zAn implicit plot)titler   N)r   r   
tmp_folderr   r*   r   r
   r   r   r   r	   r   r   )r   temp_dirr,   r-   s   &   r   plot_implicit_testsr:      s   yHh'sAsA"QA-!RaQZdQ"QT1a4!8$q"ajAJT1!a!e)aQZAJT1!a#a&j.1b!*AJT1!q3q6zCF**QAJAJT1!!t)aQZAJT1 "QT1a4!8$(3"QT1a4!8$u(C"QT1a4!8$uJ!%!R2#a#a&j!!e),(;"QUAF#2!Q$(QAJH5!Q$()!%rx0!%qh/!c!f*u(;!c!f*u(;#a#a&j"QUBqH"56HE!c"q&k/x0!Q$("4(Cr!   c                     \        R R\        3R7      p V '       d    \        4       p\        P                  ! V4       \        R4      p\        R4      p\        \        RR7      ;_uu_ 4        \        \        V\        \        V4      \        \        V4      ,          ,           4      4      RVR7       R	R	R	4       \        P                  ! 4        R	# \        R
4       R	#   + '       g   i     L4; i  \        P                  ! 4        i ; i)
matplotlib1.1.0min_module_versioncatchr,   r-   z%Adaptive meshing could not be applied)matchtestr.   N"Matplotlib not the default backend)r   RuntimeErrorr   r   r8   r   r   UserWarningr*   r   r   r
   r   r   cleanupr   )r<   r9   r,   r-   s       r   test_no_adaptive_meshingrG   B   s    |P\_J	%yH%%h/sAsA {*QRRbBs1v#a&'8$9:XV S ""$12 SR ""$s%   AC1 ,AC2C1 C.	)C1 1Dc                  X   \        R 4      w  r\        V ^,          V^,          ,           ^,
          RRR7      pVP                  ^ ,          P                  R8X  g   Q h\        V ^,          V^,          ,           ^,
          RRR7      pVP                  ^ ,          P                  R8X  g   Q hR# )zx, ygreenF)
line_colorshowrN)r   r   _seriesrJ   )r,   r-   r)   s      r   test_line_colorrN   V   s    6?DAadQTkAo'FA99Q<""g---adQTkAo#EBA99Q<""c)))r!   c                      \        R R\        3R7      p V '       d.    \        R4       \        4        \        P
                  ! 4        R# \        R4       R#   \        P
                  ! 4        i ; i)r<   r=   r>   rB   rC   N)r   rD   r:   rN   r   rF   r   )r<   s    r   test_matplotlibrP   ]   sN    |P\_J	%'""$12 ""$s   A A-c                     \        R R\        3R7      p V '       g   \        R4       ^ RIHp \
        P                  P                  \
        P                  P                  \        4      4      p \        4       p\        P                  ! V4       \        R4      w  rEV^,
          ^,          V^,          ,           ^8  pV^,           ^,          V^,          ,           ^8  p\        VRR7      p\
        P                  P                  VR4      p	\!        Wg,          WE4      p
V
P#                  V4       V! WR	4       \        VR
R7      p\
        P                  P                  VR4      p	\!        Wg,          WE4      p
V
P#                  V4       V! WR	4       \        VRR7      p\
        P                  P                  VR4      p	\!        V( WE4      p
V
P#                  V4       V! WR	4       \        VRR7      p\
        P                  P                  VR4      p	\!        Wg,          WE4      p
V
P#                  V4       V! WR	4       \        P$                  ! 4        R#   \        P$                  ! 4        i ; i)r<   r=   r>   rC   )compare_imageszx ytest_region_andr   ztest_region_and.pngg{Gzt?test_region_orztest_region_or.pngtest_region_notztest_region_not.pngtest_region_xorztest_region_xor.pngN)r   rD   r   matplotlib.testing.comparerR   ospathdirnameabspath__file__r   r   r8   r   r    joinr   r#   rF   )r<   rR   test_directoryr9   r,   r-   r1r2test_filenamecmp_filenamer)   s              r   rS   rS   i   s   |P\_J129WW__RWW__X%>?N!!9!!(+u~!eaZ!Q$"!eaZ!Q$" X4EFww||N4IJ"'1(	}|E: X4DEww||N4HI"'1(	}|E: X4EFww||N4IJ2#q$	}|E: X4EFww||N4IJ"'1(	}|E:  s   .GI I*)Nr   )*sympy.core.numbersr   r   sympy.core.relationalr   sympy.core.symbolr   r   $sympy.functions.elementary.complexesr   &sympy.functions.elementary.exponentialr	   (sympy.functions.elementary.trigonometricr
   r   r   sympy.logic.boolalgr   r   sympy.plotting.plot_implicitr   sympy.plotting.plotr   tempfiler   r   sympy.testing.pytestr   r   r   sympy.externalr   sympy.testing.tmpfilesr   rX   r    r*   r:   rG   rN   rP   rS    r!   r   <module>rq      s~    & $ / 3 6 D D ) 6 * 0 3 3 ( 1 	 /B D "DH 3 3&*	3)!r!   