ó _Û3Lc@s;dZddljZdgZdejfd„ƒYZdS(s:UnitDblFormatter module containing class UnitDblFormatter.iÿÿÿÿNtUnitDblFormattercBs5eZdZd„Zdd„Zd„Zd„ZRS(saThe formatter for UnitDbl data types. This allows for formatting with the unit string. cOstjj|||ŽdS(sAThe arguments are identical to matplotlib.ticker.ScalarFormatter.N(ttickertScalarFormattert__init__(tselftargstkwargs((s`/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/UnitDblFormatter.pyRscCs't|jƒdkrdSt|ƒSdS(s0Return the format for tick val x at position positN(tlentlocststr(Rtxtpos((s`/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/UnitDblFormatter.pyt__call__scCs t|ƒS(s-Return the value formatted in 'short' format.(R (Rtvalue((s`/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/UnitDblFormatter.pytformat_data_short#scCs t|ƒS(s)Return the value formatted into a string.(R (RR((s`/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/UnitDblFormatter.pyt format_data'sN(t__name__t __module__t__doc__RtNoneR RR(((s`/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/UnitDblFormatter.pyRs    (Rtmatplotlib.tickerRt__all__RR(((s`/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/testing/jpl_units/UnitDblFormatter.pyts