
    -e                        d Z ddlmZ ddlZ ej        e          ZddlmZm	Z	m
Z
mZmZmZmZmZmZmZ ddlmZmZmZ ddlmZ dd	lmZ dd
lmZmZ dZ G d de          ZdS )z= A guide renderer for displaying grid lines on Bokeh plots.

    )annotationsN   )
AutoEitherFloatIncludeInstanceIntNullableOverrideSeqTuple)ScalarFillPropsScalarHatchPropsScalarLineProps   )Axis)GuideRenderer)FixedTickerTicker)Gridc                      e Zd ZdZd fdZ edd          Z ee e	e
e
          d          Z ee e	e
e
          d	          Z e ee          d
          Z e ee          d                               ee
          d           Z eedd          Z ed          Z eedd          Z ed          Z eedd          Z ed          Z ed          Z ee dd          Z! ed          Z" xZ#S )r   za Display horizontal or vertical grid lines at locations
    given by a supplied ``Ticker``.

    returnNonec                :     t                      j        |i | d S )N)super__init__)selfargskwargs	__class__s      2lib/python3.11/site-packages/bokeh/models/grids.pyr   zGrid.__init__<   s%    $)&)))))    r   z
    Which dimension the Axis Grid lines will intersect. The
    x-axis is dimension 0 (vertical Grid lines) and the y-axis
    is dimension 1 (horizontal Grid lines).
    )helpz
    Bounds for the rendered grid lines. By default, a grid will look for a
    corresponding axis to ask for bounds. If one cannot be found, the grid
    will span the entire visible range.
    z
    Bounds for the rendered grid lines in the orthogonal direction. By default,
    a grid will span the entire visible range.
    z
    An Axis to delegate ticking to. If the ticker property is None, then the
    Grid will use the ticker on the specified axis for computing where to draw
    grid lines. Otherwise, it ticker is not None, it will take precedence over
    any Axis.
    zE
    A Ticker to use for computing locations for the Grid lines.
    c                "    t          |           S )Nticks)r   r&   s    r"   <lambda>zGrid.<lambda>Y   s    ;U+C+C+C r#   gridz'
    The {prop} of the Grid lines.
    )prefixr$   z#e5e5e5)default
minor_gridz-
    The {prop} of the minor Grid lines.
    Nbandz=
    The {prop} of alternating bands between Grid lines.
    underlay)r   r   )$__name__
__module____qualname____doc__r   r
   	dimensionr   r   r   r   boundscross_boundsr   r	   r   axisr   acceptsr   tickerr   r   
grid_propsr   grid_line_colorminor_grid_propsminor_grid_line_colorr   band_fill_propsband_fill_alphaband_fill_colorr   band_hatch_propslevel__classcell__)r!   s   @r"   r   r   5   s	        * * * * * * A  	 	 	I VD%%u-- 5 	 	 	F 6$eU 3 3 ; 	 	 	L
 8HHTNN * 	 	 	D Xhhv&& . 	 	 		UCC	D	D   ? 	 	 	J hy111Ow| K 	 	 	 %HT222gof D 	 	 	O hq)))Oht,,,Ow/ F 	 	 	 HZ(((EEEEEr#   r   )r2   
__future__r   logging	getLoggerr/   logcore.propertiesr   r   r   r   r	   r
   r   r   r   r   core.property_mixinsr   r   r   axesr   	renderersr   tickersr   r   __all__r    r#   r"   <module>rN      sN    # " " " " " g!!                        V U U U U U U U U U       $ $ $ $ $ $ ( ( ( ( ( ( ( (>) >) >) >) >)= >) >) >) >) >)r#   