+
    i7                     J    ^ RI Ht ^ RIHt ^ RIHt ^ RIHt  ! R R4      tR# )    )S)Symbol)sympify)Integerc                   4  a  ] tR t^t o RtRw  ttttR t	R t
R tR tR tR tR	 tR
 tR tR t]	R 4       t]! ]]4      t]! ]]4      t]! ]]4      t]! ]]4      t]! ]4      tR t]R 4       tR tR tR t]	R 4       t ]	R 4       t!]	R 4       t"R t#Rt$V t%R# )PlotIntervalz
    Nc                   a  V 3R  lpV# )c                    < V P                   V P                  V P                  V P                  3 F  pVe   K	  \	        R4      h	  S! V .VO5/ VB # )NzPlotInterval is incomplete.)_v_v_min_v_max_v_steps
ValueError)selfargskwargsgfs   &*, e/var/www/html/photoedit/myenv/lib/python3.14/site-packages/sympy/plotting/pygletplot/plot_interval.pycheck,PlotInterval.require_all_args.<locals>.check   sO    ggt{{DKKG9$%BCC H T+D+F++     )r   r   s   f r   require_all_argsPlotInterval.require_all_args   s    	,
 r   c                   \        V4      ^8X  d   \        V^ ,          \        4      '       d   V P                  V^ ,          4       R# \        V^ ,          \        4      '       d    \        V^ ,          4      pM8\        V^ ,          \        \        34      '       d   V^ ,          pM\        R4      h\        V\        \        34      '       d   \        V4      ^8  d   Rp\        V4      h\        V4      p\        V4      ^ 8  d?   V^ ,          e   \        V^ ,          \        4      '       d   VP                  ^ 4      V n        \        V4      R9   dW   VP                  ^ 4      V n        VP                  ^ 4      V n        \        V4      ^8X  d   VP                  ^ 4      V n        R# R# \        V4      ^8X  d   VP                  ^ 4      V n        R# R#   \         d    Rp\        Y!^ ,          ,          4      hi ; i)   NzCould not interpret string %s.zNot an interval.z9PlotInterval must be a tuple or list of length 4 or less.)      )len
isinstancer   	fill_fromstreval	TypeErrorr   tuplelistr   popvv_minv_maxv_steps)r   r   s_eval_errorf_errors   &*  r   __init__PlotInterval.__init__   sv   t9>$q'<00tAw'DGS))?Q=D DGeT]33Aw !344$..#d)a-QGW%%Dzt9q=d1goDGV1L1LXXa[DFt9!DJ!DJ4yA~#xx{ Y!^88A;DL ' ! ?#CL$\!W%=>>?s   &G &G9c                    V P                   # N)r   r   s   &r   get_vPlotInterval.get_v2   s    wwr   c                n    Vf
   R V n         R # \        V\        4      '       g   \        R4      hWn         R # )Nzv must be a SymPy Symbol.)r   r!   r   r   )r   r)   s   &&r   set_vPlotInterval.set_v5   s/    9DG!V$$899r   c                    V P                   # r2   )r   r3   s   &r   	get_v_minPlotInterval.get_v_min=       {{r   c                    Vf
   R V n         R #  \        V4      V n         \        V P                   P                  4       4       R #   \         d    \        R4      hi ; i)Nz+v_min could not be interpreted as a number.)r   r   floatevalfr%   r   )r   r*   s   &&r   	set_v_minPlotInterval.set_v_min@   T    =DK	L!%.DK$++##%& 	LJKK	L   3A Ac                    V P                   # r2   )r   r3   s   &r   	get_v_maxPlotInterval.get_v_maxJ   r<   r   c                    Vf
   R V n         R #  \        V4      V n         \        V P                   P                  4       4       R #   \         d    \        R4      hi ; i)Nz+v_max could not be interpreted as a number.)r   r   r>   r?   r%   r   )r   r+   s   &&r   	set_v_maxPlotInterval.set_v_maxM   rB   rC   c                    V P                   # r2   )r   r3   s   &r   get_v_stepsPlotInterval.get_v_stepsW   s    }}r   c                    Vf
   R V n         R # \        V\        4      '       d   \        V4      pM!\        V\        4      '       g   \	        R4      hV\
        P                  8:  d   \	        R4      hWn         R # )Nz(v_steps must be an int or SymPy Integer.zv_steps must be positive.)r   r!   intr   r   r   Zero)r   r,   s   &&r   set_v_stepsPlotInterval.set_v_stepsZ   s^    ? DMgs##g&GGW--GHHaff899r   c                (    V P                   ^,           # )r   )r,   r3   s   &r   	get_v_lenPlotInterval.get_v_lenf   s    ||ar   c                   VP                   e   VP                   V n         VP                  e   VP                  V n        VP                  e   VP                  V n        VP                  e   VP                  V n        R # R # r2   )r)   r*   r+   r,   )r   bs   &&r   r"   PlotInterval.fill_fromp   sZ    33?SSDF77DJ77DJ99 99DL !r   c                     \        V 4      ^8X  d'   \        V ^ ,          \        4      '       d
   V ^ ,          #  \        V !  #   \         d     R# i ; i)zL
Returns a PlotInterval if args can be interpreted
as such, otherwise None.
N)r    r!   r   r   )r   s   *r   	try_parsePlotInterval.try_parsez   sJ     t9>ja,??7N	&& 		s   A AAc                    R P                  \        V P                  4      \        V P                  4      \        V P                  4      \        V P
                  4      .4      # ),)joinr#   r)   r*   r+   r,   r3   s   &r   	_str_basePlotInterval._str_base   sB    xxTVVc$**oTZZ#dll*;= > 	>r   c                0    RV P                  4       ,          # )z?
A string representing the interval in class constructor form.
zPlotInterval(%s)r^   r3   s   &r   __repr__PlotInterval.__repr__   s     "T^^%566r   c                0    RV P                  4       ,          # )z2
A string representing the interval in list form.
z[%s]ra   r3   s   &r   __str__PlotInterval.__str__   s     )**r   c                    R # r2   r   r3   s   &r   assert_completePlotInterval.assert_complete   s    r   c              #     "   V P                   V P                  ,
          V P                  ,          p\        V P                  ^,           4       F*  pV P                  V\	        V4      ,          ,           pVx  K,  	  R# 5i)z=
Yields v_steps+1 SymPy numbers ranging from
v_min to v_max.
N)r+   r*   r,   ranger   )r   dias   &   r   vrangePlotInterval.vrange   sU      ZZ$**$4t||a'(A

a'!*n-AG )s   A;A=c              #  T  "   V P                   V P                  ,
          V P                  ,          pV P                  V\        P                  ,          ,           p\        V P                  4       F4  pV P                  V\        V^,           4      ,          ,           pW$3x  TpK6  	  R# 5i)zd
Yields v_steps pairs of SymPy numbers ranging from
(v_min, v_min + step) to (v_max - step, v_max).
N)r+   r*   r,   r   rO   rk   r   )r   rl   rn   rm   rV   s   &    r   vrange2PlotInterval.vrange2   sr      ZZ$**$4JJ!aff*%t||$A

a'!a%.01A$JA %s   B&B(c              #  r   "   V P                  4        F  p\        VP                  4       4      x  K   	  R # 5ir2   )ro   r>   r?   )r   rm   s   & r   frangePlotInterval.frange   s&     A	"" s   57)r   r   r   r   r)   r+   r*   r,   )NNNN)&__name__
__module____qualname____firstlineno____doc__r   r   r   r   r   r/   r4   r7   r:   r@   rE   rH   rK   rP   rS   propertyr)   r*   r+   r,   v_lenr"   staticmethodrY   r^   rb   re   rh   ro   rr   ru   __static_attributes____classdictcell__)__classdict__s   @r   r   r      s
    #9 B'<LL
      	AY	*EY	*E{K0GYE% 
 
>7+     
 
# #r   r   N)	sympy.core.singletonr   sympy.core.symbolr   sympy.core.sympifyr   sympy.core.numbersr   r   r   r   r   <module>r      s    " $ & &n# n#r   