
    \cg                     D    d Z ddlmZ dgZ G d dej                        Zy)z:UnitDblFormatter module containing class UnitDblFormatter.    NUnitDblFormatterc                   $    e Zd ZdZddZd Zd Zy)r   ze
    The formatter for UnitDbl data types.

    This allows for formatting with the unit string.
    Nc                 <    t        | j                        dk(  ry|dS )Nr    .12)lenlocs)selfxposs      h/var/www/html/bid-api/venv/lib/python3.12/site-packages/matplotlib/testing/jpl_units/UnitDblFormatter.py__call__zUnitDblFormatter.__call__   s    tyy>QW    c                 
    |dS Nr    r
   values     r   format_data_shortz"UnitDblFormatter.format_data_short       r   c                 
    |dS r   r   r   s     r   format_datazUnitDblFormatter.format_data   r   r   )N)__name__
__module____qualname____doc__r   r   r   r   r   r   r   r      s    r   )r   matplotlib.tickerticker__all__ScalarFormatterr   r   r   r   <module>r!      s%    @ "
v-- r   