zmc
2023-08-08 e792e9a60d958b93aef96050644f369feb25d61b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
U
­ý°dã@sTddlZddlmmZddlmZddlmZm    Z    m
Z
ej Gdd„deƒƒZ dS)éN)Ú    DataFrame)Ú TestPlotBaseÚ_check_plot_worksÚ_gen_two_subplotsc@seZdZdd„Zdd„ZdS)Ú
TestCommonc    CsÞtdddgdddgdœƒ}t|jdd}|jjddd    }tjt|d
|j|dd W5QRXtjt|d
|j|dd W5QRXtjt|d
|j|dd W5QRXtjt|d
|j|ddW5QRXdS)Nrééé)ÚbÚaé)Zrot)Zrotationzexpected 0.00000 but got )Úmatch)Zxrot)Z
xlabelsize)Zyrot)Z
ylabelsize)    rrZplotZyaxisZset_tick_paramsÚpytestZraisesÚAssertionErrorZ_check_ticks_props)ÚselfZdfÚaxÚmsg©rúXd:\z\workplace\vscode\pyvenv\venv\Lib\site-packages\pandas/tests/plotting/test_common.pyÚtest__check_ticks_propssz"TestCommon.test__check_ticks_propscCs–|j ¡}tdd„|dd}t|ƒ| ¡gks4t‚t|ƒ| ¡}t|ƒdksTt‚t|d ¡     ¡dd…ƒ}|dd7<|dddgks’t‚dS)    Nc[sdS)Nr)ÚkwargsrrrÚ<lambda> óz;TestCommon.test__gen_two_subplots_with_ax.<locals>.<lambda>Útest)ÚfÚfigrrréÿÿÿÿr)
ZpltZgcfrÚnextZget_axesrÚlenÚlistZget_subplotspecZ get_geometry)rrÚgenZaxesZsubplot_geometryrrrÚtest__gen_two_subplots_with_axs
z)TestCommon.test__gen_two_subplots_with_axN)Ú__name__Ú
__module__Ú __qualname__rr!rrrrr sr) rZpandas.util._test_decoratorsÚutilZ_test_decoratorsÚtdZpandasrZpandas.tests.plotting.commonrrrZskip_if_no_mplrrrrrÚ<module>s