
    dR                        d dl mZ d dlZ ej        e          ZddlmZmZ ddl	m
Z
 ddlmZmZ ddlmZmZ d	Z G d
 de
          ZdS )    )annotationsN   )InstanceInstanceDefault)Model   )DataRange1dRange)LinearScaleScale)CoordinateMappingc                      e Zd ZdZd fdZ ee ee          d          Z	 ee ee          d          Z
 ee ee          d          Z ee ee          d	          Z eed
          Z eed          Z xZS )r   z+ A mapping between two coordinate systems. returnNonec                :     t                      j        |i | d S )N)super__init__)selfargskwargs	__class__s      8lib/python3.11/site-packages/bokeh/models/coordinates.pyr   zCoordinateMapping.__init__*   s%    $)&)))))    zS
    The source range of the horizontal dimension of the new coordinate space.
    )defaulthelpzQ
    The source range of the vertical dimension of the new coordinate space.
    z
    What kind of scale to use to convert x-coordinates from the source (data)
    space into x-coordinates in the target (possibly screen) coordinate space.
    z
    What kind of scale to use to convert y-coordinates from the source (data)
    space into y-coordinates in the target (possibly screen) coordinate space.
    zS
    The horizontal range to map x-coordinates in the target coordinate space.
    )r   zQ
    The vertical range to map y-coordinates in the target coordinate space.
    )r   r   )__name__
__module____qualname____doc__r   r   r
   r   r	   x_sourcey_sourcer   r   x_scaley_scalex_targety_target__classcell__)r   s   @r   r   r   &   s%       55* * * * * * x{'C'C K 	 	 	H x{'C'C K 	 	 	H huook&B&B J 	 	 	G
 huook&B&B J 	 	 	G
 x % 	 	 	H x % 	 	 	HHHHHr   r   )
__future__r   logging	getLoggerr   logcore.propertiesr   r   modelr   rangesr	   r
   scalesr   r   __all__r    r   r   <module>r1      s    # " " " " " g!! 8 7 7 7 7 7 7 7       & & & & & & & & & & & & & & & &	 	 	 	 	 	 	 	 	 	r   