/usr/lib64/python2.6/site-packages/matplotlib
NameSizeModeActions
backends/-0755rm
delaunay/-0755rm
mpl-data/-0755rm
numerix/-0755rm
projections/-0755rm
sphinxext/-0755rm
afm.py150890644editdlrm
afm.pyc169590644editdlrm
afm.pyo169590644editdlrm
artist.py356230644editdlrm
artist.pyc403260644editdlrm
artist.pyo403260644editdlrm
axes.py2800890644editdlrm
axes.pyc2493960644editdlrm
axes.pyo2482840644editdlrm
axis.py573540644editdlrm
axis.pyc589730644editdlrm
axis.pyo586660644editdlrm
backend_bases.py723180644editdlrm
backend_bases.pyc779670644editdlrm
backend_bases.pyo778770644editdlrm
bezier.py149170644editdlrm
bezier.pyc135260644editdlrm
bezier.pyo135260644editdlrm
blocking_input.py136900644editdlrm
blocking_input.pyc143460644editdlrm
blocking_input.pyo140280644editdlrm
cbook.py427560644editdlrm
cbook.pyc567550644editdlrm
cbook.pyo565290644editdlrm
cm.py80980644editdlrm
cm.pyc97720644editdlrm
cm.pyo97720644editdlrm
collections.py407840644editdlrm
collections.pyc440060644editdlrm
collections.pyo440060644editdlrm
colorbar.py274560644editdlrm
colorbar.pyc254970644editdlrm
colorbar.pyo254970644editdlrm
colors.py391100644editdlrm
colors.pyc400790644editdlrm
colors.pyo400790644editdlrm
contour.py428950644editdlrm
contour.pyc360990644editdlrm
contour.pyo359370644editdlrm
dates.py360070755editdlrm
dates.pyc400170644editdlrm
dates.pyo399530644editdlrm
dviread.py320330644editdlrm
dviread.pyc346820644editdlrm
dviread.pyo345390644editdlrm
figure.py412640644editdlrm
figure.pyc429390644editdlrm
figure.pyo428080644editdlrm
finance.py205820644editdlrm
finance.pyc185190644editdlrm
finance.pyo183590644editdlrm
fontconfig_pattern.py64290644editdlrm
fontconfig_pattern.pyc65190644editdlrm
fontconfig_pattern.pyo65190644editdlrm
font_manager.py426530644editdlrm
font_manager.pyc404560644editdlrm
font_manager.pyo404560644editdlrm
ft2font.so3061680775editdlrm
hatch.py65640644editdlrm
hatch.pyc91200644editdlrm
hatch.pyo91200644editdlrm
image.py315400644editdlrm
image.pyc330420644editdlrm
image.pyo329960644editdlrm
legend.py323020644editdlrm
legend.pyc235510644editdlrm
legend.pyo233780644editdlrm
lines.py546850644editdlrm
lines.pyc564310644editdlrm
lines.pyo563260644editdlrm
mathtext.py1020090644editdlrm
mathtext.pyc1030670644editdlrm
mathtext.pyo1026790644editdlrm
mlab.py942940644editdlrm
mlab.pyc1000040644editdlrm
mlab.pyo998240644editdlrm
mpl.py7850644editdlrm
mpl.pyc11760644editdlrm
mpl.pyo11760644editdlrm
nxutils.so95120775editdlrm
offsetbox.py298070644editdlrm
offsetbox.pyc338890644editdlrm
offsetbox.pyo338340644editdlrm
patches.py1284850644editdlrm
patches.pyc1301480644editdlrm
patches.pyo1300100644editdlrm
path.py217650644editdlrm
path.pyc211740644editdlrm
path.pyo209540644editdlrm
pylab.py109810644editdlrm
pylab.pyc123990644editdlrm
pylab.pyo123990644editdlrm
pyparsing.py1439240644editdlrm
pyparsing.pyc1467370644editdlrm
pyparsing.pyo1467370644editdlrm
pyplot.py824680644editdlrm
pyplot.pyc802790644editdlrm
pyplot.pyo802790644editdlrm
quiver.py375400644editdlrm
quiver.pyc337880644editdlrm
quiver.pyo337880644editdlrm
rcsetup.py234340644editdlrm
rcsetup.pyc211190644editdlrm
rcsetup.pyo209490644editdlrm
scale.py142330644editdlrm
scale.pyc194740644editdlrm
scale.pyo194740644editdlrm
spines.py126840644editdlrm
spines.pyc116360644editdlrm
spines.pyo112090644editdlrm
table.py168280644editdlrm
table.pyc169310644editdlrm
table.pyo167800644editdlrm
texmanager.py224640644editdlrm
texmanager.pyc199620644editdlrm
texmanager.pyo199620644editdlrm
text.py598220644editdlrm
text.pyc592400644editdlrm
text.pyo592400644editdlrm
ticker.py404280644editdlrm
ticker.pyc504610644editdlrm
ticker.pyo503250644editdlrm
tight_bbox.py36550644editdlrm
tight_bbox.pyc40660644editdlrm
tight_bbox.pyo40660644editdlrm
transforms.py753870644editdlrm
transforms.pyc896110644editdlrm
transforms.pyo887020644editdlrm
ttconv.so653600775editdlrm
type1font.py115370644editdlrm
type1font.pyc112560644editdlrm
type1font.pyo112560644editdlrm
units.py49760644editdlrm
units.pyc57750644editdlrm
units.pyo57750644editdlrm
widgets.py408330644editdlrm
widgets.pyc425680644editdlrm
widgets.pyo423820644editdlrm
windowing.py4540644editdlrm
windowing.pyc12830644editdlrm
windowing.pyo12830644editdlrm
_cm.py3704140644editdlrm
_cm.pyc1030420644editdlrm
_cm.pyo1030420644editdlrm
_cntr.so211840775editdlrm
_delaunay.so611200775editdlrm
_image.so2822480775editdlrm
_mathtext_data.py579900644editdlrm
_mathtext_data.pyc637870644editdlrm
_mathtext_data.pyo637870644editdlrm
_path.so2799920775editdlrm
_png.so1564720775editdlrm
_pylab_helpers.py27150644editdlrm
_pylab_helpers.pyc37080644editdlrm
_pylab_helpers.pyo37080644editdlrm
__init__.py289720644editdlrm
__init__.pyc289800644editdlrm
__init__.pyo289260644editdlrm
Edit: /usr/lib64/python2.6/site-packages/matplotlib/scale.pyo (19474B)
Ñò …ñ™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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pytlimit_range_for_scale)s(t__name__t __module__t__doc__RRR(((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR s  t LinearScalecBs/eZdZdZd„Zd„Zd„ZRS(s# The default linear scale. tlinearcKsdS(N((RRtkwargs((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR=scCstƒS(sy The transform for linear scaling is just the :class:`~matplotlib.transforms.IdentityTransform`. (R (R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyRGs(RRRtnameRRR(((s6/usr/lib64/python2.6/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#((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyt_mask_non_positivesOs  cCsd||dj<|S(NgYóøÂn¥g((R&((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyRts   (RRt input_dimst output_dimstTruet is_separableR(((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR+ostLog10TransformcBs eZdZd„Zd„ZRS(g$@cCs>|i|dƒ}t|tƒoti|ƒSti|ƒS(Ng$@(R,t isinstanceR%Rtlog10tnp(RR&((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyt transformscCs tiƒS(N(R)tInvertedLog10Transform(R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pytinverted…s(RRtbaseR6R8(((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR2|s R7cBs2eZdZdZeZdZd„Zd„ZRS(ig$@cCstid|ƒdS(Ng$@(Rtpower(RR&((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR6ŽscCs tiƒS(N(R)R2(R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR8‘s( RRR.R/R0R1R9R6R8(((s6/usr/lib64/python2.6/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&((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR6—scCs tiƒS(N(R)tInvertedLog2Transform(R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR8s(RRR9R6R8(((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR;”s R=cBs2eZdZdZeZdZd„Zd„ZRS(ig@cCstid|ƒdS(Ng@(RR:(RR&((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR6¦scCs tiƒS(N(R)R;(R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR8©s( RRR.R/R0R1R9R6R8(((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR= s  tNaturalLogTransformcBs#eZeiZd„Zd„ZRS(cCsA|i|tiƒ}t|tƒoti|ƒSti|ƒS(N(R,R5teR3R%RR*(RR&((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR6¯scCs tiƒS(N(R)tInvertedNaturalLogTransform(R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR8µs(RRR5R?R9R6R8(((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR>¬s  R@cBs5eZdZdZeZeiZd„Z d„Z RS(icCstiti|ƒtiS(N(RR:R5R?(RR&((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR6¾scCs tiƒS(N(R)R>(R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR8Ás( RRR.R/R0R1R5R?R9R6R8(((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR@¸s   t LogTransformcBs5eZdZdZeZd„Zd„Zd„ZRS(icCs=ti|ƒ||_|djo t|_n t|_dS(NR#(R RR9R'R,R((RR9R-((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyRÉs     cCsa|i||iƒ}t|tƒoti|ƒti|iƒSti|ƒti|iƒS(N(R,R9R3R%RR*R5(RR&((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR6ÑscCsti|iƒS(N(R)tInvertedLogTransformR9(R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR8×s( RRR.R/R0R1RR6R8(((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyRAÄs   RBcBs5eZdZdZeZd„Zd„Zd„ZRS(icCsti|ƒ||_dS(N(R RR9(RR9((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyRßs cCsti|i|ƒ|iS(N(RR:R9(RR&((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR6ãscCsti|iƒS(N(R)RAR9(R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR8æs( RRR.R/R0R1RR6R8(((s6/usr/lib64/python2.6/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-((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyRscCs|iS(s Return a :class:`~matplotlib.transforms.Transform` instance appropriate for the given logarithm base. (RO(R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyRscCs2|djo|p||djo|p|fS(s6 Limit the domain to positive values. g((RRRR((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR$s(RRRR"R R+R2R7R;R=R>R@RARBRRRR(((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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*((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR6Ds"#  cCsti|i|iƒS(N(RQtInvertedSymmetricalLogTransformR9RT(R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR8Ps( RRR.R/R0R1RR6R8(((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyRS8s   R_cBs5eZdZdZeZd„Zd„Zd„ZRS(icCskti|ƒ||_||_ti|ƒ|_ti|ƒ|i|_|ti|ƒ|i|_dS(N( R RR9RTR5R*RUt_log_linthreshRV(RR9RT((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyRXs    cCskti|ƒ}ti||ijti||i j||iti|i| ƒ ƒti|i|ƒƒS(N(R5RXR]R`RVR:R9(RR&((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR6`s  cCsti|iƒS(N(RQRSR9(R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR8hs( RRR.R/R0R1RR6R8(((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR‹scCs|iS(sE Return a :class:`SymmetricalLogTransform` instance. (RO(R((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyR•s( RRRR"R RSR_RRR(((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyRQ,s  RR*RRcCstiƒ}|iƒ|S(N(t_scale_mappingtkeystsort(tnames((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/scale.pyt scale_factory§s     s | RfcCs|t|is.   "(( Îq