U
    ꥡc                  
   @   s  d Z ddlZddlmZ e ZdZdZdZ	dZ
dZdZeejed	 ed
jejdejddddddejde d ejddddddededejdejdddde
 d de d dgdjde d e
 d d jee d	 ee	 d! d"jdd# dS )$zC
Hexbin Chart
-----------------
This example shows a hexbin chart.
    N)data         datez`M0,-2.3094010768L2,-1.1547005384 2,1.1547005384 0,2.3094010768 -2,1.1547005384 -2,-1.1547005384Z   )sizeshapezxFeaturePos:QZMonthF)titleZgridtickOpacitydomainOpacity)Zaxiszday(z):OZWeekday   )r
   ZlabelPaddingr   r   Zblackg?zmean(temp_max):QZdarkblue)scheme)Zscalezmonth()xyZstrokestrokeWidthfillZtooltipz(day(datum.z) % 2) / 2 + month(datum.))ZxFeaturePosg/pZz?)widthheight)r   )__doc__ZaltairZaltZvega_datasetsr   Zseattle_weathersourcer   ZxFeaturesCountZyFeaturesCountZxFieldZyFieldZhexagonZChartZ
mark_pointencodeXZAxisYvalueZColorZScaleZtransform_calculateZ
propertiesZconfigure_view r   r   ;/tmp/pip-unpacked-wheel-y9_o96ar/altair/examples/hexbins.py<module>   s@       

