
    [h                         S r SSKJrJr  S rg)zj
Limited tests of the visualization module. Right now it just makes
sure that passing custom Axes works.

    )mpfpc                      SS K n U R                  R                  S5      S   nUR                  S5      S S nU Vs/ s H  n[        U5      PM     snSS/:  a  [        eSS KnUR                  5       nUR                  S5      n[        [        4 HC  nUR                  S SS	/US
9  UR                  5       S:X  d   eUR                  5       S:X  a  MC   e   UR                  5       nUR                  S5      n[        [        4 H  nUR                  S SS/SS/US
9  M     UR                  5       S:X  d   eUR                  5       S:X  d   eg s  snf ! [         a    [        S5         g f = f)Nr   -.   c   z8
Skipping test (pylab not available or too old version)
o   c                     U S-  $ )Nr    )xs    W/var/www/auris/envauris/lib/python3.13/site-packages/mpmath/tests/test_visualization.py<lambda>test_axes.<locals>.<lambda>   s    1a4       )axesr   zf(x)c                     U $ )Nr   )zs    r   r   r      s    Ar   i
   zRe(z)zIm(z))
matplotlib__version__splitintImportErrorpylabprintfigureadd_subplotr   r   plot
get_xlabel
get_ylabelcplot)r   version_r   figr   ctxs          r   	test_axesr)   	   s\   	((..s3A6--$Ra(#$GqCFG$"v- ,,.C??3DBx!Qd3 C''' F*** 
 ,,.C??3DBx		+Awb		= ??'''??'''% %  JKs"   :E EE E E-,E-N)__doc__mpmathr   r   r)   r   r   r   <module>r,      s    (r   