/opt/alt/python27/lib64/python2.7/site-packages/matplotlib
NameSizeModeActions
backends/-0755rm
delaunay/-0755rm
mpl-data/-0755rm
numerix/-0755rm
projections/-0755rm
sphinxext/-0755rm
afm.py150890644editdlrm
afm.pyc173880644editdlrm
afm.pyo173880644editdlrm
artist.py356230644editdlrm
artist.pyc414310644editdlrm
artist.pyo414310644editdlrm
axes.py2800890644editdlrm
axes.pyc2525680644editdlrm
axes.pyo2514560644editdlrm
axis.py573540644editdlrm
axis.pyc608580644editdlrm
axis.pyo605510644editdlrm
backend_bases.py723180644editdlrm
backend_bases.pyc799690644editdlrm
backend_bases.pyo798790644editdlrm
bezier.py149170644editdlrm
bezier.pyc138120644editdlrm
bezier.pyo138120644editdlrm
blocking_input.py136900644editdlrm
blocking_input.pyc147620644editdlrm
blocking_input.pyo144440644editdlrm
cbook.py427560644editdlrm
cbook.pyc586920644editdlrm
cbook.pyo584660644editdlrm
cm.py80980644editdlrm
cm.pyc100320644editdlrm
cm.pyo100320644editdlrm
collections.py407840644editdlrm
collections.pyc451110644editdlrm
collections.pyo451110644editdlrm
colorbar.py274560644editdlrm
colorbar.pyc258350644editdlrm
colorbar.pyo258350644editdlrm
colors.py391100644editdlrm
colors.pyc406900644editdlrm
colors.pyo406900644editdlrm
contour.py428950644editdlrm
contour.pyc364630644editdlrm
contour.pyo363010644editdlrm
dates.py360070755editdlrm
dates.pyc411350644editdlrm
dates.pyo410710644editdlrm
dviread.py320330644editdlrm
dviread.pyc354880644editdlrm
dviread.pyo353450644editdlrm
figure.py412640644editdlrm
figure.pyc437060644editdlrm
figure.pyo435750644editdlrm
finance.py205820644editdlrm
finance.pyc186750644editdlrm
finance.pyo185150644editdlrm
fontconfig_pattern.py64290644editdlrm
fontconfig_pattern.pyc67100644editdlrm
fontconfig_pattern.pyo67100644editdlrm
font_manager.py426530644editdlrm
font_manager.pyc412750644editdlrm
font_manager.pyo412750644editdlrm
ft2font.so3061680755editdlrm
hatch.py65640644editdlrm
hatch.pyc94840644editdlrm
hatch.pyo94840644editdlrm
image.py315400644editdlrm
image.pyc337830644editdlrm
image.pyo337370644editdlrm
legend.py323020644editdlrm
legend.pyc238760644editdlrm
legend.pyo237030644editdlrm
lines.py546850644editdlrm
lines.pyc579910644editdlrm
lines.pyo578860644editdlrm
mathtext.py1020090644editdlrm
mathtext.pyc1060700644editdlrm
mathtext.pyo1056820644editdlrm
mlab.py942940644editdlrm
mlab.pyc1019150644editdlrm
mlab.pyo1017350644editdlrm
mpl.py7850644editdlrm
mpl.pyc11890644editdlrm
mpl.pyo11890644editdlrm
nxutils.so97040755editdlrm
offsetbox.py298070644editdlrm
offsetbox.pyc348250644editdlrm
offsetbox.pyo347700644editdlrm
patches.py1284850644editdlrm
patches.pyc1337360644editdlrm
patches.pyo1335980644editdlrm
path.py217650644editdlrm
path.pyc214990644editdlrm
path.pyo212790644editdlrm
pylab.py109810644editdlrm
pylab.pyc124380644editdlrm
pylab.pyo124380644editdlrm
pyparsing.py1439240644editdlrm
pyparsing.pyc1511830644editdlrm
pyparsing.pyo1511830644editdlrm
pyplot.py824680644editdlrm
pyplot.pyc819820644editdlrm
pyplot.pyo819820644editdlrm
quiver.py375400644editdlrm
quiver.pyc341520644editdlrm
quiver.pyo341520644editdlrm
rcsetup.py234340644editdlrm
rcsetup.pyc215220644editdlrm
rcsetup.pyo213520644editdlrm
scale.py142330644editdlrm
scale.pyc202540644editdlrm
scale.pyo202540644editdlrm
spines.py126840644editdlrm
spines.pyc118830644editdlrm
spines.pyo114560644editdlrm
table.py168280644editdlrm
table.pyc173730644editdlrm
table.pyo172220644editdlrm
texmanager.py224640644editdlrm
texmanager.pyc202090644editdlrm
texmanager.pyo202090644editdlrm
text.py598220644editdlrm
text.pyc606960644editdlrm
text.pyo606960644editdlrm
ticker.py404280644editdlrm
ticker.pyc521640644editdlrm
ticker.pyo520280644editdlrm
tight_bbox.py36550644editdlrm
tight_bbox.pyc41570644editdlrm
tight_bbox.pyo41570644editdlrm
transforms.py753870644editdlrm
transforms.pyc924320644editdlrm
transforms.pyo915230644editdlrm
ttconv.so654880755editdlrm
type1font.py115370644editdlrm
type1font.pyc114900644editdlrm
type1font.pyo114900644editdlrm
units.py49760644editdlrm
units.pyc59180644editdlrm
units.pyo59180644editdlrm
widgets.py408330644editdlrm
widgets.pyc436080644editdlrm
widgets.pyo434220644editdlrm
windowing.py4540644editdlrm
windowing.pyc13610644editdlrm
windowing.pyo13610644editdlrm
_cm.py3704140644editdlrm
_cm.pyc1030550644editdlrm
_cm.pyo1030550644editdlrm
_cntr.so209600755editdlrm
_delaunay.so611840755editdlrm
_image.so2828560755editdlrm
_mathtext_data.py579900644editdlrm
_mathtext_data.pyc638000644editdlrm
_mathtext_data.pyo638000644editdlrm
_path.so2803120755editdlrm
_png.so1565040755editdlrm
_pylab_helpers.py27150644editdlrm
_pylab_helpers.pyc38380644editdlrm
_pylab_helpers.pyo38380644editdlrm
__init__.py289720644editdlrm
__init__.pyc294350644editdlrm
__init__.pyo293810644editdlrm
Edit: /opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyo (20254B)
Ñò …ñ™Jc @swddkZddkZddklZeiZddklZddklZl Z l Z l Z ddkl Z l Z lZlZlZddklZlZdefd„ƒYZd efd „ƒYZd „Zd „Zd efd„ƒYZdefd„ƒYZhed6ed6ed6Zd„Zd„Zeeiƒhdieƒƒd6e_d„Z d„Z!dS(iÿÿÿÿN(tma(tdedent(t NullFormattertScalarFormattertLogFormatterMathtextt Formatter(t NullLocatort LogLocatort AutoLocatortSymmetricalLogLocatort FixedLocator(t TransformtIdentityTransformt ScaleBasecBs)eZdZd„Zd„Zd„ZRS(s@ The base class for all scales. Scales are separable transformations, working on a single dimension. Any subclasses will want to override: - :attr:`name` - :meth:`get_transform` And optionally: - :meth:`set_default_locators_and_formatters` - :meth:`limit_range_for_scale` cCs t‚dS(sq Return the :class:`~matplotlib.transforms.Transform` object associated with this scale. N(tNotImplementedError(tself((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyt get_transformscCs t‚dS(s¦ Set the :class:`~matplotlib.ticker.Locator` and :class:`~matplotlib.ticker.Formatter` objects on the given axis to match this scale. N(R(Rtaxis((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyt#set_default_locators_and_formatters!scCs ||fS(sù Returns the range *vmin*, *vmax*, possibly limited to the domain supported by this scale. *minpos* should be the minimum positive value in the data. This is used by log scales to determine a minimum value. ((Rtvmintvmaxtminpos((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pytlimit_range_for_scale)s(t__name__t __module__t__doc__RRR(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR s  t LinearScalecBs/eZdZdZd„Zd„Zd„ZRS(s# The default linear scale. tlinearcKsdS(N((RRtkwargs((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyt__init__:scCsD|itƒƒ|itƒƒ|itƒƒ|itƒƒdS(sd Set the locators and formatters to reasonable defaults for linear scaling. N(tset_major_locatorRtset_major_formatterRtset_minor_locatorRtset_minor_formatterR(RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR=scCstƒS(sy The transform for linear scaling is just the :class:`~matplotlib.transforms.IdentityTransform`. (R (R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRGs(RRRtnameRRR(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR3s   cCs1|dj}|iƒoti|d|ƒS|S(s Return a Numpy masked array where all non-positive values are masked. If there are no non-positive values, the original array is returned. gtmask(tanyRt MaskedArray(taR#((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyt_mask_non_positivesOs  cCsd||dj<|S(NgYóøÂn¥g((R&((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyt_clip_non_positivesZstLogScalecBsþeZdZdZdefd„ƒYZdefd„ƒYZdefd„ƒYZdefd „ƒYZd efd „ƒYZ d efd „ƒYZ defd„ƒYZ defd„ƒYZ defd„ƒYZ d„Zd„Zd„Zd„ZRS(sÔ A standard logarithmic scale. Care is taken so non-positive values are not plotted. For computational efficiency (to push as much as possible to Numpy C code in the common cases), this scale provides different transforms depending on the base of the logarithm: - base 10 (:class:`Log10Transform`) - base 2 (:class:`Log2Transform`) - base e (:class:`NaturalLogTransform`) - arbitrary base (:class:`LogTransform`) tlogtLogTransformBasecBs#eZdZdZeZd„ZRS(icCs4ti|ƒ|djo t|_n t|_dS(NR#(R RR't_handle_nonposR((Rtnonpos((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRts   (RRt input_dimst output_dimstTruet is_separableR(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR+ostLog10TransformcBs eZdZd„Zd„ZRS(g$@cCs>|i|dƒ}t|tƒoti|ƒSti|ƒS(Ng$@(R,t isinstanceR%Rtlog10tnp(RR&((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyt transformscCs tiƒS(N(R)tInvertedLog10Transform(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pytinverted…s(RRtbaseR6R8(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR2|s R7cBs2eZdZdZeZdZd„Zd„ZRS(ig$@cCstid|ƒdS(Ng$@(Rtpower(RR&((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR6ŽscCs tiƒS(N(R)R2(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR8‘s( RRR.R/R0R1R9R6R8(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR7ˆs  t Log2TransformcBs eZdZd„Zd„ZRS(g@cCsK|i|dƒ}t|tƒoti|ƒtidƒSti|ƒS(Ng@i(R,R3R%RR*R5tlog2(RR&((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR6—scCs tiƒS(N(R)tInvertedLog2Transform(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR8s(RRR9R6R8(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR;”s R=cBs2eZdZdZeZdZd„Zd„ZRS(ig@cCstid|ƒdS(Ng@(RR:(RR&((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR6¦scCs tiƒS(N(R)R;(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR8©s( RRR.R/R0R1R9R6R8(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR= s  tNaturalLogTransformcBs#eZeiZd„Zd„ZRS(cCsA|i|tiƒ}t|tƒoti|ƒSti|ƒS(N(R,R5teR3R%RR*(RR&((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR6¯scCs tiƒS(N(R)tInvertedNaturalLogTransform(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR8µs(RRR5R?R9R6R8(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR>¬s  R@cBs5eZdZdZeZeiZd„Z d„Z RS(icCstiti|ƒtiS(N(RR:R5R?(RR&((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR6¾scCs tiƒS(N(R)R>(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR8Ás( RRR.R/R0R1R5R?R9R6R8(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR@¸s   t LogTransformcBs5eZdZdZeZd„Zd„Zd„ZRS(icCs=ti|ƒ||_|djo t|_n t|_dS(NR#(R RR9R'R,R((RR9R-((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRÉs     cCsa|i||iƒ}t|tƒoti|ƒti|iƒSti|ƒti|iƒS(N(R,R9R3R%RR*R5(RR&((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR6ÑscCsti|iƒS(N(R)tInvertedLogTransformR9(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR8×s( RRR.R/R0R1RR6R8(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRAÄs   RBcBs5eZdZdZeZd„Zd„Zd„ZRS(icCsti|ƒ||_dS(N(R RR9(RR9((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRßs cCsti|i|ƒ|iS(N(RR:R9(RR&((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR6ãscCsti|iƒS(N(R)RAR9(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR8æs( RRR.R/R0R1RR6R8(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRBÚs   cKs4|idjo:|iddƒ}|idd ƒ}|iddƒ}n7|iddƒ}|idd ƒ}|id dƒ}|djotd ƒ‚n|djo|i|ƒ|_n_|d jo|i|ƒ|_n<|tijo|i |ƒ|_n|i ||ƒ|_||_ ||_ d S(s) *basex*/*basey*: The base of the logarithm *nonposx*/*nonposy*: ['mask' | 'clip' ] non-positive values in *x* or *y* can be masked as invalid, or clipped to a very small positive number *subsx*/*subsy*: Where to place the subticks between each major tick. Should be a sequence of integers. For example, in a log10 scale: ``[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]`` will place 10 logarithmically spaced minor ticks between each major tick. txtbasexg$@tsubsxtnonposxR#tbaseytsubsytnonposytclips/nonposx, nonposy kwarg must be 'mask' or 'clip'g@N(smaskRJ( t axis_nametpoptNonet ValueErrorR2t _transformR;R5R?R>RAR9tsubs(RRRR9RPR-((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRês$    cCs\|it|iƒƒ|it|iƒƒ|it|i|iƒƒ|itƒƒdS(sb Set the locators and formatters to specialized versions for log scaling. N( RRR9RRR RPR!R(RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRscCs|iS(s Return a :class:`~matplotlib.transforms.Transform` instance appropriate for the given logarithm base. (RO(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRscCs2|djo|p||djo|p|fS(s6 Limit the domain to positive values. g((RRRR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR$s(RRRR"R R+R2R7R;R=R>R@RARBRRRR(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR)^s         ) tSymmetricalLogScalecBs[eZdZdZdefd„ƒYZdefd„ƒYZd„Zd„Zd„Z RS( sh The symmetrical logarithmic scale is logarithmic in both the positive and negative directions from the origin. Since the values close to zero tend toward infinity, there is a need to have a range around zero that is linear. The parameter *linthresh* allows the user to specify the size of this range (-*linthresh*, *linthresh*). tsymlogtSymmetricalLogTransformcBs5eZdZdZeZd„Zd„Zd„ZRS(icCsRti|ƒ||_||_ti|ƒ|_ti|ƒ|i||_dS(N(R RR9t linthreshR5R*t _log_baset _linadjust(RR9RT((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR=s    cCs«ti|ƒ}ti|ƒ}ti||i |idtƒ}|titi|ƒƒ|i }|i i ƒo'titi |i ||i |ƒƒSti|ƒSdS(Ntcopy(R5tasarraytsignRt masked_insideRTtFalseR*tabsRUR#R$twhereRV(RR&RYtmaskedR*((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR6Ds"#  cCsti|i|iƒS(N(RQtInvertedSymmetricalLogTransformR9RT(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR8Ps( RRR.R/R0R1RR6R8(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRS8s   R_cBs5eZdZdZeZd„Zd„Zd„ZRS(icCskti|ƒ||_||_ti|ƒ|_ti|ƒ|i|_|ti|ƒ|i|_dS(N( R RR9RTR5R*RUt_log_linthreshRV(RR9RT((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRXs    cCskti|ƒ}ti||ijti||i j||iti|i| ƒ ƒti|i|ƒƒS(N(R5RXR]R`RVR:R9(RR&((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR6`s  cCsti|iƒS(N(RQRSR9(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR8hs( RRR.R/R0R1RR6R8(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR_Ss   cKs´|idjo:|iddƒ}|iddƒ}|idd ƒ}n7|iddƒ}|iddƒ}|id d ƒ}|i||ƒ|_||_||_||_d S( s" *basex*/*basey*: The base of the logarithm *linthreshx*/*linthreshy*: The range (-*x*, *x*) within which the plot is linear (to avoid having the plot go to infinity around zero). *subsx*/*subsy*: Where to place the subticks between each major tick. Should be a sequence of integers. For example, in a log10 scale: ``[0, 1, 2, 3, 4, 5, 6, 7, 8, 9]`` will place 10 logarithmically spaced minor ticks between each major tick. RCRDg$@t linthreshxg@RERGt linthreshyRHN(RKRLRMRSROR9RTRP(RRRR9RTRP((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRks  cCsb|it|iƒƒƒ|it|iƒƒ|it|iƒ|iƒƒ|it ƒƒdS(sn Set the locators and formatters to specialized versions for symmetrical log scaling. N( RR RRRR9R RPR!R(RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR‹scCs|iS(sE Return a :class:`SymmetricalLogTransform` instance. (RO(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyR•s( RRRR"R RSR_RRR(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyRQ,s  RR*RRcCstiƒ}|iƒ|S(N(t_scale_mappingtkeystsort(tnames((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pytget_scale_names¢s  cKsU|iƒ}|djo d}n|tjotd|ƒ‚nt|||S(sC Return a scale class by name. ACCEPTS: [ %(names)s ] RsUnknown scale type '%s'N(tlowerRMRcRN(tscaleRR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/scale.pyt scale_factory§s     s | RfcCs|t|is.   "(( Îq