rL iddlZddlZddlmZddlmZmZ m Z ejjdedgdZy)N)check_figures_equal) collectionspatchespathcairopng) extensionscrtjjd}tjj}t j |j |j dddg}t j |j|jg}tj||}tj|dz|}|j}|jddg|jddgtj|dddd } |j| tj|dddd } |j| |j}|jddg|jddgtj||gdddd } |j!| y) z Test checks that the patch and collection are rendered with the specified alpha values in their facecolor and edgecolor. Ndashdot)r rrg?)rrr g?) linewidth linestyle facecolor edgecolor)r linestylesrr)mpathPathunit_regular_star unit_circlenp concatenateverticescodessubplotsset_xlimset_ylimmpatches PathPatch add_patch mcollectionsPathCollectionadd_collection) fig_testfig_refstarcirclevertsr cut_star1 cut_star2axpatchcols i/mnt/ssd/data/python-lab/Trading/venv/lib/python3.12/site-packages/matplotlib/tests/test_backend_cairo.pytest_patch_alpha_coloringr2 sv :: ' ' *D ZZ # # %F NNFOOT]]4R4-@A BE NNFLL$**5 6E 5%(I 519e,I    BKKQKKQ   y)*i)7)8 :ELL   y)*i)7)8 :ELL    BKKQKKQ  % %y)&<01i0>0? ACc)numpyrpytestmatplotlib.testing.decoratorsr matplotlibrr$rr!rrmarkbackendr2r3r1r;sL =EEW($)$r3