
    -eC                        d Z ddlmZ ddlZ ej        e          ZddlmZ ddl	m
Z
 ddlmZmZmZmZmZ ddlmZ d	Ze
 G d
 de                      Ze
 G d de                      Z G d de          ZdS )z

    )annotationsN)Any   )abstract)FloatListNullableOverrideString)Model)MetricLengthc                       e Zd ZdZd fdZ eed	          Z e ee	          d
d          Z
 ee	g d          Z xZS )Dimensionalz@
    A base class for models defining units of measurement.
    argsr   kwargsreturnNonec                :     t                      j        |i | d S Nsuper__init__selfr   r   	__class__s      Dlib/python3.11/site-packages/bokeh/models/annotations/dimensional.pyr   zDimensional.__init__8   %    $)&)))))    z<
    Preferred values to choose from in non-exact mode.
    )helpNz?
    An optional subset of preferred units from the basis.
    )defaultr   z4
    A subset of units from the basis to avoid.
    r   r   r   r   r   r   )__name__
__module____qualname____doc__r   r   r   ticksr	   r   includeexclude__classcell__r   s   @r   r   r   1   s         
* * * * * * D  	 	 	E httF||T 9 	 	 	G d62 - 	 	 	GGGGGr   r   c                  @     e Zd ZdZd
 fdZ eg d	          Z xZS )Metricz<
    A base class defining metric units of measurement.
    r   r   r   r   r   c                :     t                      j        |i | d S r   r   r   s      r   r   zMetric.__init__N   r   r   )         
            2   K   d   }            i  i  r    r!   )r"   r#   r$   r%   r   r
   r&   r)   r*   s   @r   r,   r,   G   sV         
* * * * * * HaaabbbEEEEEr   r,   c                  @     e Zd ZdZd fdZ edd	g
          Z xZS )r   z!
    Units of metric length.
    r   r   r   r   r   c                :     t                      j        |i | d S r   r   r   s      r   r   zMetricLength.__init__Y   r   r   dmhmr<   r!   )r"   r#   r$   r%   r   r
   r(   r)   r*   s   @r   r   r   S   sS         
* * * * * * hd|,,,GGGGGr   r   )r%   
__future__r   logging	getLoggerr"   logtypingr   core.has_propsr   core.propertiesr   r   r	   r
   r   modelr   __all__r   r,   r    r   r   <module>rK      so    # " " " " " g!!       ' & & & & &                    
	 	 	 	 	% 	 	 
	* 
	c 	c 	c 	c 	c[ 	c 	c 
	c	- 	- 	- 	- 	-6 	- 	- 	- 	- 	-r   