Ë
    ªeh6  ã                   óB   — d dl Zd dlZd dlmZ d dlmZ ddgZ	dd„Z
d„ Zy)é    NÚpalplotÚdogplotc                 ó>  — t        | «      }t        j                  dd||z  |f¬«      \  }}|j                  t	        j
                  |«      j                  d|«      t        j                  j                  t        | «      «      dd¬«       |j                  t	        j
                  |«      dz
  «       |j                  ddg«       |j                  t        |«      D �cg c]  }d‘Œ c}«       |j                  j!                  t#        j$                  «       «       y	c c}w )
zõPlot the values in a color palette as a horizontal array.

    Parameters
    ----------
    pal : sequence of matplotlib colors
        colors, i.e. as returned by seaborn.color_palette()
    size :
        scaling factor for size of plot

    é   )ÚfigsizeÚnearestÚauto)ÚcmapÚinterpolationÚaspectg      à?g      à¿Ú N)ÚlenÚpltÚsubplotsÚimshowÚnpÚarangeÚreshapeÚmplÚcolorsÚListedColormapÚlistÚ
set_xticksÚ
set_yticksÚset_xticklabelsÚrangeÚyaxisÚset_major_locatorÚtickerÚNullLocator)ÚpalÚsizeÚnÚ_Úaxs        úN/var/www/skyplay_api_hub/venv/lib/python3.12/site-packages/seaborn/miscplot.pyr   r   	   s×   € ô 	ˆC‹€AÜ�L‰L˜˜A¨¨D©°$Ð'7Ô8�E€A€rØ‡I�IŒb�i‰i˜‹l×"Ñ" 1 aÓ(Ü—:‘:×,Ñ,¬T°#«YÓ7Ø%¨fð ô 6ð ‡M�M”"—)‘)˜A“, Ñ#Ô$Ø‡M�M�3˜�)Ôà×Ñ¤E¨!£HÖ-˜qšÒ-Ô.à‡H�H×Ñœv×1Ñ1Ó3Õ4ùò .s   Ã	Dc                  ó~  — ddl m} ddlm} d}t        j
                  j                  dd«      } | ||j                  |«      «      j                  «       «      }t        j                  |«      }t        j                  dd¬	«      \  }}	|j                  ddd
d
«       |	j                  |«       |	j                  «        y)zWho's a good boy?r   )Úurlopen)ÚBytesIOz@https://github.com/mwaskom/seaborn-data/raw/master/png/img{}.pngé   é   )é   r,   éd   )r   Údpir   N)Úurllib.requestr(   Úior)   r   ÚrandomÚrandintÚformatÚreadr   Úimreadr   Úsubplots_adjustr   Úset_axis_off)
r$   Ú__r(   r)   ÚurlÚpicÚdataÚimgÚfr%   s
             r&   r   r   !   sŽ   € å&Ýà
L€CÜ
�)‰)×
Ñ
˜A˜qÓ
!€CÙ‘7˜3Ÿ:™: c›?Ó+×0Ñ0Ó2Ó3€DÜ
�*‰*�TÓ
€CÜ�L‰L ¨SÔ1�E€A€rØ×Ñ�a˜˜A˜qÔ!Ø‡I�Iˆc„NØ‡O�OÕó    )r   )Únumpyr   Ú
matplotlibr   Úmatplotlib.pyplotÚpyplotr   Úmatplotlib.tickerr   Ú__all__r   r   © r>   r&   ú<module>rF      s%   ðÛ Û Ý Ý "à�iÐ
 €ó5ó0r>   