K idZddlmZmZdZy)zj Limited tests of the visualization module. Right now it just makes sure that passing custom Axes works. )mpfpc ddl}|jjdd}|jddd}|Dcgc] }t|c}ddgkrtddl}|j}|jd}ttfD]C}|jddd g| |jd k(sJ|jd k(rCJ|j}|jd}ttfD]}|jd ddgddg| |jdk(sJ|jdk(sJycc}w#t$rt dYywxYw)Nr-.cz8 Skipping test (pylab not available or too old version) oc |dzS)Nr)xs e/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/mpmath/tests/test_visualization.pyztest_axes..s 1a4)axesr zf(x)c|S)Nr )zs rrztest_axes..sAri zRe(z)zIm(z)) matplotlib __version__splitint ImportErrorpylabprintfigure add_subplotrrplot get_xlabel get_ylabelcplot)rversion_rfigrctxs r test_axesr( sb ((..s3A6--$Ra(# $qCF $"v -  ,,.C ??3 DBx+ !Qd3 C''' F***+ ,,.C ??3 DBx> +Awb  => ??  '' ' ??  '' '% %  JKs":EE E EE&%E&N)__doc__mpmathrrr(r rrr+s (r