hyb
2025-12-31 6cdcd01f77e11b72c323603e27ebdb85b15223c9
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
Ë
oñúhË(ãóŽ—ddlZddlZddlmcmZddlmZm    Z    ddl
m Z m Z m Z ddlmZej d«ZGd„d«Zy)éN)Ú    DataFrameÚ
date_range)Ú_check_legend_labelsÚ_check_legend_markerÚ_check_text_labels)ÚVersionÚ
matplotlibc ób—eZdZejj d¬«d„«Zd„Zejjdgd¢«d„«Z    d„Z
d    „Z d
„Z d „Z d „Zd „Zejjddddej dej$d«¬«ddg«d„«Zd„Zd„Zy)ÚTestFrameLegendzLOpen bug in matplotlib https://github.com/matplotlib/matplotlib/issues/11357)Úreasoncó€—ddlm}ddlm}t    ddddœddddœg«}|j dd    d
d d
¬ «}|j dd dd|d¬«|j «}ttj«td«kr |j}n |j}t|d|«sJ‚t|d|«sJ‚y)Nr)ÚLineCollection)ÚLine2Dé)ÚxÚaÚbéérrÚorangegš™™™™™¹?)ÚcÚyerrÚlabelrÚblue)rrÚaxrú3.7) Úmatplotlib.collectionsrÚmatplotlib.linesrrÚplotÚ
get_legendrÚmplÚ __version__Ú legendHandlesÚlegend_handlesÚ
isinstance)ÚselfrrÚdfrÚlegendÚresult_handless       ú`H:\Change_password\venv_build\Lib\site-packages\pandas/tests/plotting/frame/test_frame_legend.pyÚtest_mixed_yerrzTestFrameLegend.test_mixed_yerrs·€õ    :Ý+ä ˜a a¨aÑ0¸ÀÈÑ2JÐKÓ Lˆà W‰WS˜# °¸8ˆWÓ DˆØ
‰S˜F¨°"¸FˆÔCà—‘“ˆÜ ”3—?‘?Ó #¤g¨e£nÒ 4Ø#×1Ñ1‰Nà#×2Ñ2ˆNä˜.¨Ñ+¨^Ô<Ð<Ð<ܘ.¨Ñ+¨VÔ4Ð4Ñ4ócó–—tddgddgdœ«}tdddgi«}|jddd    dœd
¬ «}|jddd i|¬ «|j«}ttj
«td«kr |j }n |j}|Dcgc]}|j«‘Œ}}gd¢}||k(sJ‚ycc}w)Nrrr)rrÚdg@TrÚgreenr)r(ÚcolorÚ secondary_yÚred)r(r0rr)rr/r2)    rrr rr!r"r#r$Ú    get_color)    r&r'Údf2rr(ÚhandlesÚhandleÚresultÚexpecteds             r*Útest_legend_falsez!TestFrameLegend.test_legend_false.sƀä ˜a ˜V¨1¨a¨&Ñ1Ó 2ˆÜ˜˜s C˜jÐ)Ó*ˆà W‰W˜D¨f¸7Ñ(CÐQTˆWÓ UˆØ ‰˜ S¨% L°RˆÔ8Ø—‘“ˆÜ ”3—?‘?Ó #¤g¨e£nÒ 4Ø×*Ñ*‰Gà×+Ñ+ˆGØ3:Ö;¨&×"Ñ"Õ$Ð;ˆÐ;Ú+ˆØ˜Ò!Ð!Ñ!ùò<sÂ!CÚkind)ÚlineÚbarÚbarhÚkdeÚareaÚhistcó—tjd«ttjj d«j    d«gd¢¬«}ttjj d«j    d«gd¢¬«}ttjj d«j    d«gd¢¬«}ttjj d«j    d«gd¢¬«}|j |d    ¬
«}t||j¬ «|j |d |¬ «}t||j¬ «|j |d    |¬ «}t||jj|j«¬ «|j |d|¬ «}t|jj|j««tt|j««z}t||¬ «y)NÚscipyr©rr©rrr©Úcolumns©r.ÚeÚf©ÚgÚhÚi)ÚjÚkÚlT©r:r(©ÚlabelsF)r:r(rÚreverse) ÚpytestÚ importorskiprÚnpÚrandomÚ default_rngrrrFÚunionÚlistÚreversed)r&r:r'r4Údf3Údf4rr8s        r*Útest_df_legend_labelsz%TestFrameLegend.test_df_legend_labels>sx€ä×јGÔ$Ü ”r—y‘y×,Ñ,¨QÓ/×6Ñ6°vÓ>ÊÔ XˆÜÜ I‰I× !Ñ ! !Ó $× +Ñ +¨FÓ 3º_ô
ˆôÜ I‰I× !Ñ ! !Ó $× +Ñ +¨FÓ 3º_ô
ˆôÜ I‰I× !Ñ ! !Ó $× +Ñ +¨FÓ 3º_ô
ˆðW‰W˜$ tˆWÓ ,ˆÜ˜R¨¯
©
Õ3à X‰X˜4¨°"ˆXÓ 5ˆÜ˜R¨¯
©
Õ3à X‰X˜4¨°ˆXÓ 4ˆÜ˜R¨¯
©
×(8Ñ(8¸¿¹Ó(EÕFà X‰X˜4¨    °bˆXÓ 9ˆÜ˜Ÿ
™
×(Ñ(¨¯©Ó5Ó6¼¼hÀsÇ{Á{Ó>SÓ9TÑTˆÜ˜R¨Ö1r,có`—tjd«ttjj d«j    d«gd¢¬«}ttjj d«j    d«gd¢¬«}ttjj d«j    d«gd¢¬«}|j dd    ¬
«}t|gd ¢¬ «|j d |¬«}t|gd ¢¬ «|j ddd|¬«}t|gd¢¬ «y)NrBrrCrDrErGrJTr©r(r1©rú    b (right)rrRF©r(rr<rL)r:r(r1r)rrcrrKz    h (right)rM)rUrVrrWrXrYrr)r&r'r4r]rs     r*Ú!test_df_legend_labels_secondary_yz1TestFrameLegend.test_df_legend_labels_secondary_yYsç€Ü×јGÔ$Ü ”r—y‘y×,Ñ,¨QÓ/×6Ñ6°vÓ>ÊÔ XˆÜÜ I‰I× !Ñ ! !Ó $× +Ñ +¨FÓ 3º_ô
ˆôÜ I‰I× !Ñ ! !Ó $× +Ñ +¨FÓ 3º_ô
ˆðW‰W˜D¨cˆWÓ 2ˆÜ˜RÒ(?Õ@Ø X‰X˜U rˆXÓ *ˆÜ˜RÒ(?Õ@Ø X‰X˜5¨¸3À2ˆXÓ FˆÜ˜RÒ(VÖWr,có|—tjd«tdd¬«}ttj
j d«jd«gd¢|¬«}ttj
j d«jd«gd    ¢|¬«}ttj
j d«jd«gd
¢|¬«}|jd d ¬ «}t|gd¢¬«|jd|¬«}t|gd¢¬«|jd |¬«}t|gd¢¬«y)NrBú1/1/2014r©ÚperiodsrrCrD©rFÚindexrGrJTrrarbrRFrd)rrcrrKrLrM)
rUrVrrrWrXrYÚstandard_normalrr©r&Úindr'r4r]rs      r*Ú!test_df_legend_labels_time_seriesz1TestFrameLegend.test_df_legend_labels_time_seriesjs€ä×јGÔ$ܘ¨QÔ/ˆÜ Ü I‰I× !Ñ ! !Ó $× 4Ñ 4°VÓ <Ú#Øô
ˆô
Ü I‰I× !Ñ ! !Ó $× 4Ñ 4°VÓ <Ú#Øô
ˆô
Ü I‰I× !Ñ ! !Ó $× 4Ñ 4°VÓ <Ú#Øô
ˆð
W‰W˜D¨cˆWÓ 2ˆÜ˜RÒ(?Õ@Ø X‰X˜U rˆXÓ *ˆÜ˜RÒ(?Õ@Ø X‰X˜T bˆXÓ )ˆÜ˜RÒ(NÖOr,cóÀ—tjd«tdd¬«}ttj
j d«jd«gd¢|¬«}ttj
j d«jd«gd    ¢|¬«}ttj
j d«jd«gd
¢|¬«}|jjd d d ¬«}t|d g¬«|jjdddd|¬«}t|d g¬«|jjddd|¬«}t|d dg¬«y)NrBrgrrhrrCrDrjrGrJrrÚdata1)rÚyrrRr.rHFÚdata2)rrrr(rrrKrLÚdata3)rrrrr) rUrVrrrWrXrYrlrÚscatterrrms      r*Ú)test_df_legend_labels_time_series_scatterz9TestFrameLegend.test_df_legend_labels_time_series_scatter„s$€ä×јGÔ$ܘ¨QÔ/ˆÜ Ü I‰I× !Ñ ! !Ó $× 4Ñ 4°VÓ <Ú#Øô
ˆô
Ü I‰I× !Ñ ! !Ó $× 4Ñ 4°VÓ <Ú#Øô
ˆô
Ü I‰I× !Ñ ! !Ó $× 4Ñ 4°VÓ <Ú#Øô
ˆð W‰W_‰_˜s c°ˆ_Ó 9ˆÜ˜R¨¨    Õ2Ø X‰X× Ñ   s°5ÀÈBÐ Ó OˆÜ˜R¨¨    Õ2Ø X‰X× Ñ   s°'¸bÐ Ó AˆÜ˜R¨°'Ð(:Ö;r,có4—tjd«tdd¬«}ttj
j d«jd«gd¢|¬«}|jd    «}|jd
¬ «}t|d
g¬ «|jd
d ¬«}t|d g¬ «t|jj«d    «|jdd|¬«}t|d dg¬ «|jj«d
dgk(sJ‚y)NrBrgrrhrrCrDrjrr)rrrRÚLABEL_b)rrrrÚLABEL_c)rrrr)rUrVrrrWrXrYrlÚ    set_indexrrrÚxaxisÚ    get_labelrFÚtolist)r&rnr'Údf5rs     r*Ú+test_df_legend_labels_time_series_no_mutatez;TestFrameLegend.test_df_legend_labels_time_series_no_mutateŸsë€Ü×јGÔ$ܘ¨QÔ/ˆÜ Ü I‰I× !Ñ ! !Ó $× 4Ñ 4°VÓ <Ú#Øô
ˆðl‰l˜3ÓˆØ X‰X˜ˆX‹_ˆÜ˜R¨¨Õ.Ø X‰X˜ 9ˆXÓ -ˆÜ˜R¨¨ Õ4ܘ2Ÿ8™8×-Ñ-Ó/°Ô5Ø X‰X˜ 9°ˆXÓ 4ˆÜ˜R¨°IÐ(>Õ?؏{‰{×!Ñ!Ó#¨¨S zÒ1Ð1Ñ1r,c    ó"—tgd¢gd¢ggd¢¬«}tjjdd¬«\}}|j    dd    d
d d    |d
¬ «|j    dd ddd |d
¬ «|j    dddd d|d
¬ «t |d
gd¢¬«t |d
gd¢¬«|j    dddd d|d¬ «|j    dd    d
d d    |d¬ «|j    dd ddd |d¬ «t |dgd¢¬«t |dgd¢¬«|j    dd ddd |d¬ «|j    dddd d|d¬ «|j    dd    d
d d    |d¬ «t |dgd¢¬«t |dgd¢¬«y)N)rrrr)rréé)rÚrrKr)ÚdatarFrr)ÚnrowsÚncolsrrƒrÚo)rrrÚ    linewidthÚmarkerr0rrKr)rƒrKrrR)r‡rr‡©Úexpected_markers)rrƒrK)r‡r‡rr)rKrrƒ)rr‡r‡©rr!ÚpyplotÚsubplotsrrr)r&r'Ú_rs    r*Ú*test_missing_marker_multi_plots_on_same_axz:TestFrameLegend.test_missing_marker_multi_plots_on_same_ax´s€ä š\ª<Ð8ÒBVÔ WˆÜ—
‘
×#Ñ#¨!°1Ð#Ó5‰ˆˆ2à
‰#˜¨°#¸SÀRÈÁUˆÔKØ
‰#˜¨°#¸SÀRÈÁUˆÔKØ
‰#˜¨°#¸SÀRÈÁUˆÔKܘR ™Uª?Õ;ܘR ™U²_ÕEà
‰#˜¨°#¸SÀRÈÁUˆÔKØ
‰#˜¨°#¸SÀRÈÁUˆÔKØ
‰#˜¨°#¸SÀRÈÁUˆÔKܘR ™Uª?Õ;ܘR ™U²_ÕEà
‰#˜¨°#¸SÀRÈÁUˆÔKØ
‰#˜¨°#¸SÀRÈÁUˆÔKØ
‰#˜¨°#¸SÀRÈÁUˆÔKܘR ™Uª?Õ;ܘR ™U²_ÖEr,cóF—ttjjd«j    d«tj
gd¢«tj
gd¢«g¬«}ddg|j _|j«}|jj«}t|d«ttjjd«j    d    ««}|jd
|¬ «}|jj«}t|d«d |j _ |jd |¬ «}|jj«}t|d«|jd
|¬ «}|jj«}t|d «y)Nr)rr)rrrr)rrrrrrrEÚgroupÚ
individualzgroup,individual)ér”TrdÚnewF) rrWrXrYrlÚarrayrFÚnamesrÚlegend_Ú    get_titlerÚname)r&ÚmultirÚ    leg_titler's     r*Útest_legend_namez TestFrameLegend.test_legend_nameËs;€ÜÜ I‰I× !Ñ ! !Ó $× 4Ñ 4°VÓ <Ü—X‘XÒ2Ó3´R·X±XÒ>RÓ5SÐTô
ˆð '¨ Ð5ˆ ‰ Ôà Z‰Z‹\ˆØ—J‘J×(Ñ(Ó*ˆ    Ü˜9Ð&8Ô9ä ”r—y‘y×,Ñ,¨QÓ/×?Ñ?ÀÓGÓ HˆØ W‰W˜D RˆWÓ (ˆØ—J‘J×(Ñ(Ó*ˆ    Ü˜9Ð&8Ô9àˆ
‰
ŒØ W‰W˜E bˆWÓ )ˆØ—J‘J×(Ñ(Ó*ˆ    Ü˜9Ð&8Ô9à W‰W˜D RˆWÓ (ˆØ—J‘J×(Ñ(Ó*ˆ    Ü˜9 eÕ,r,r;r<r=r>rB)Úmarksr?r@cóº—ttjjd«jd«gd¢¬«}|j    |d¬«}t |d¬«y)NrrCrDrEFrQ)Úvisible)rrWrXrYrr)r&r:r'rs    r*Útest_no_legendzTestFrameLegend.test_no_legendäsF€ô”r—y‘y×,Ñ,¨QÓ/×6Ñ6°vÓ>ÊÔ XˆØ W‰W˜$ uˆWÓ -ˆÜ˜R¨Ö/r,có8—ttjjd«j    d«gd¢¬«}|j dgdd¬«}|j d    gd
d |¬ «|j d gdd |¬ «t |gd¢¬«t|gd¢¬«y)Nr)r‚r©ÚAÚBÚCrEr¤rÚsolid)rrr‰Ú    linestyler¥r‡Údotted)rrr‰r¨rr¦ú<rR)rr‡rªrŠ)rrWrXrYrlrrr)r&r'rs   r*Útest_missing_markers_legendz+TestFrameLegend.test_missing_markers_legendôsƒ€ä Ü I‰I× !Ñ ! !Ó $× 4Ñ 4°VÓ <Âoô
ˆðW‰W˜u S°GˆWÓ <ˆØ
‰3% ¨x¸BˆÔ?Ø
‰3% ¨x¸BˆÔ?ä˜RªÕ8ܘR²/ÖBr,cóì—tgd¢gd¢gd¢gd¢dœ«}tjj«\}}dD]}|j    d|||d¬«Œt |gd    ¢¬
«t |gd ¢¬ «y) N)rrrrr”é)rrrrrr)rrrr­rr)r¤r¥r¦ÚXÚABCr®ú.)rrÚstyler£rR)r°r°r°rŠrŒ)r&r'rrr:s     r*Ú'test_missing_markers_legend_using_stylez7TestFrameLegend.test_missing_markers_legend_using_stylesp€ä â'Ú'Ú'Ú'ñ     ó
ˆô—
‘
×#Ñ#Ó%‰ˆˆ2Øò    =ˆDØ G‰GC˜ T¨b¸ˆGÕ <ð    =ô    ˜RªÕ8ܘR²/ÖBr,N)Ú__name__Ú
__module__Ú __qualname__rUÚmarkÚxfailr+r9Ú parametrizer_rerorvrrrÚparamÚtdÚ
skip_if_nor¡r«r²©r,r*r r s܄Ø ‡[[×Ñð Dðóñ 5ó ð 5ò&"ð  ‡[[×јVÒ%SÓTñ2óUð2ò4Xò"Pò4<ò62ò*Fò.-ð2 ‡[[×ÑØà Ø Ø Ø ˆFL‰L˜ m b§m¡m°GÓ&<Ô =Ø Ø ð     
ó
ñ0ó
ð0ò
 
CóCr,r )ÚnumpyrWrUÚpandas.util._test_decoratorsÚutilÚ_test_decoratorsrºÚpandasrrÚpandas.tests.plotting.commonrrrÚpandas.util.versionrrVr!r r¼r,r*ú<module>rÄsEðÛÛ ç)Ð)÷÷ñõ
(à€f×ј,Ó'€÷|Cò|Cr,