gL iMdddlZddlmZddlmZmZmZejdZGddZ y)N) DataFrame)_check_plot_works_check_ticks_props_gen_two_subplotszmatplotlib.pyplotceZdZdZdZdZy) TestCommoncztgdgdd}t|jd}|jj dd}t j t|5t|d dddt j t|5t|d dddt j t|5t|d dddt j t|5t|d dddy#1swYxYw#1swYxxYw#1swYSxYw#1swYyxYw)N)rrr )ba)rot)rotationzexpected 0.00000 but got )matchr)xrot) xlabelsize)yrot) ylabelsize) rrplotyaxisset_tick_paramspytestraisesAssertionErrorr)selfdfaxmsgs g/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/pandas/tests/plotting/test_common.pytest__check_ticks_propsz"TestCommon.test__check_ticks_propss YY7 8 rwwB /   " -) ]]> 5 + r * + ]]> 5 1 ra 0 1 ]]> 5 + r * + ]]> 5 1 ra 0 1 1  + + 1 1 + + 1 1s0#D DD%6D1 DD"%D.1D:cftj}td|d}t||j gk(sJt||j }t |dk(sJt |djjdd}|dxxdz cc<|gdk(sJy)Ncy)N)kwargss r"z;TestCommon.test__gen_two_subplots_with_ax..stest)ffigr r r)r r r ) pltgcfrnextget_axeslenlistget_subplotspec get_geometry)rr,genaxessubplot_geometrys r"test__gen_two_subplots_with_axz)TestCommon.test__gen_two_subplots_with_axsggi"7SVL S ||~### S ||~4yA~~Q 7 7 9 F F H" MN!9,,,r)c&tj}|jd}gd}gd}|dj||}|dj|||j ||d|dgdt |j |dy) Nz+ AB CC r ABright)r locationC)r )r.figuresubplot_mosaicscattercolorbarrr)rr,r7xycs0s r"test_colorbar_layoutzTestCommon.test_colorbar_layout+sjjl!!    3i1% S !Q Sd3ic3g F! T#Y'r)N)__name__ __module__ __qualname__r#r9rGr&r)r"rr s 1 -(r)r) rpandasrpandas.tests.plotting.commonrrr importorskipr.rr&r)r"rNs4  f-./(/(r)