o
    Ci                     @   s,   d Z ddlmZ dgZG dd dejZdS )z:UnitDblFormatter module containing class UnitDblFormatter.    NUnitDblFormatterc                   @   s*   e Zd ZdZd	ddZdd Zdd ZdS )
r   ze
    The formatter for UnitDbl data types.

    This allows for formatting with the unit string.
    Nc                 C   s   t | jdkr	dS |dS )Nr    .12)lenlocs)selfxpos r
   j/home/ubuntu/veenaModal/venv/lib/python3.10/site-packages/matplotlib/testing/jpl_units/UnitDblFormatter.py__call__   s   zUnitDblFormatter.__call__c                 C      |dS Nr   r
   r   valuer
   r
   r   format_data_short      z"UnitDblFormatter.format_data_shortc                 C   r   r   r
   r   r
   r
   r   format_data   r   zUnitDblFormatter.format_data)N)__name__
__module____qualname____doc__r   r   r   r
   r
   r
   r   r      s
    
)r   matplotlib.tickerticker__all__ScalarFormatterr   r
   r
   r
   r   <module>   s    