/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/cbook.pyo (58466B)
sJc@s,dZddklZddkZddkZddkZddkZddkZddkZddk Z ddk Z ddk Z ddk Z ddk Z ddkZddkZddkiZddklZei\ZZZZZye iZWneefj o dZnXdZ ddodYZ!de!fd YZ"d e!fd YZ#d e!fd YZ$de!fdYZ%de!fdYZ&ddpdYZ'de i(fdYZ)de)fdYZ*de)fdYZ+de,fdYZ-dZ.ddqdYZ/dZ0d Z1d!Z2d"Z3d#Z4d$Z5d%Z6d&e7d'Z8d(Z9e9d)Z:d*drd+YZ;d,e<fd-YZ=d.d/Z>d0dsd1YZ?d2d3Z@d4dtd5YZAeAZBd6ZCd7dud8YZDd9ZEd:ZFeiGd;ZHhZId<ZJd=d>d?d@ZKdAZLdBdCZMddDZNdEZOdFZPdGZQdHZRdIe<fdJYZSdKdvdLYZTdMZUe7dNZVdOZWd?dPZXdQZYdRZZdSZ[dTZ\dUdwdVYZ]ei^e7dWZ_dXe`fdYYZadZZbd[Zcd\Zdeed]Zfdxdydzd{gZge<egZhehiigZjegD]Zkejekd>ekd?fq[je7dfZldgZmdhddiZndjZodkZpdlZqdmZresdnjondS(|su A collection of utility functions and classes. Many (but not all) from the Python Cookbook -- hence the name cbook i(t generatorsN(trefcCs)tdjo t|St|tSdS(N(tpreferredencodingtNonetunicode(ts((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt unicode_safes t convertercBs/eZdZdddZdZdZRS(s[ Base class for handling string -> python type with support for missing values tNullcCs||_||_dS(N(tmissingt missingval(tselfR R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt__init__$s cCs||ijo|iS|S(N(R R (R R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt__call__'scCs|i p ||ijS(N(tstripR (R R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt is_missing+sN(t__name__t __module__t__doc__RR R R(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRs ttostrcBseZdZdddZRS(sconvert to string or NoneRtcCsti|d|d|dS(NR R (RR (R R R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR 0s(RRRR (((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR.st todatetimecBs)eZdZddddZdZRS(sconvert to a datetime or Nones%Y-%m-%dRcCs ti|||||_dS(s8use a :func:`time.strptime` format string for conversionN(RR tfmt(R RR R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR 5scCs>|i|o|iSti||i}ti|d S(Ni(RR ttimetstrptimeRtdatetime(R Rttup((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR :sN(RRRRR R (((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR3sttodatecBs)eZdZddddZdZRS(sconvert to a date or Nones%Y-%m-%dRcCs ti|||||_dS(s8use a :func:`time.strptime` format string for conversionN(RR R(R RR R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR CscCs>|i|o|iSti||i}ti|d S(Ni(RR RRRRtdate(R RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR GsN(RRRRR R (((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRAsttofloatcBs&eZdZdddZdZRS(sconvert to a float or NoneRcCsti||||_dS(N(RR R (R R R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR NscCs"|i|o|iSt|S(N(RR tfloat(R R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR QsN(RRRRR R (((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRLsttointcBs&eZdZdddZdZRS(sconvert to an int or NoneRcCsti||dS(N(RR (R R R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR XscCs"|i|o|iSt|S(N(RR tint(R R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR [sN(RRRRR R (((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRVstCallbackRegistrycBs;eZdZdZdZdZdZdZRS(s  Handle registering and disconnecting for a set of signals and callbacks:: signals = 'eat', 'drink', 'be merry' def oneat(x): print 'eat', x def ondrink(x): print 'drink', x callbacks = CallbackRegistry(signals) ideat = callbacks.connect('eat', oneat) iddrink = callbacks.connect('drink', ondrink) #tmp = callbacks.connect('drunk', ondrink) # this will raise a ValueError callbacks.process('drink', 123) # will call oneat callbacks.process('eat', 456) # will call ondrink callbacks.process('be merry', 456) # nothing will be called callbacks.disconnect(ideat) # disconnect oneat callbacks.process('eat', 456) # nothing will be called cCsOt||_tg}|D]}||tfq~|_d|_dS(s(*signals* is a sequence of valid signalsiN(tsettsignalstdictt callbackst_cid(R R#t_[1]R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR zs3cCsG||ijo3t|i}|itd||fndS(s5make sure *s* is a valid signal or raise a ValueErrors)Unknown signal "%s"; valid signals are %sN(R#tlisttsortt ValueError(R RR#((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt _check_signals cCs7|i||id7_||i||i<|iS(si register *func* to be called when a signal *s* is generated func will be called i(R+R&R%(R Rtfunc((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytconnects cCsLxE|iiD]4\}}y ||=Wntj o qqXdSqWdS(sK disconnect the callback registered with callback id *cid* N(R%titemstKeyError(R tcidt eventnamet callbackd((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt disconnects  cOs<|i|x(|i|iD]}|||q!WdS(s process signal *s*. All of the functions registered to receive callbacks on *s* will be called with *\*args* and *\*\*kwargs* N(R+R%tvalues(R RtargstkwargsR,((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytprocesss (RRRR R+R-R3R7(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR!_s    t SchedulercBs2eZdZeiZdZdZdZRS(s4 Base class for timeout and idle scheduling icCsGtii|ti|_t|_tid7_ti|_dS(Ni( t threadingtThreadR R8tidtFalset_stoppedtEventt _stopevent(R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR s   cCs3|iodS|ii|it|_dS(N(R=R?R"tjointTrue(R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytstops    ( RRRR9tLocktidlelockR;R RB(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR8s   tTimeoutcBs eZdZdZdZRS(s? Schedule recurring events with a wait time in seconds cCs#ti|||_||_dS(N(R8R twaitR,(R RFR,((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR s  cCsdx]|iipL|ii|itii|i|}tii|pPqqWdS(N(R?tisSetRFR8RDtacquireR,trelease(R tb((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytruns  (RRRR RK(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyREs tIdlecBs&eZdZdZdZdZRS(s3 Schedule callbacks when scheduler is idle g?cCsti|||_dS(N(R8R R,(R R,((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR s cCsdx]|iipL|iititii|i|}tii |pPqqWdS(N( R?RGRFRLtwaittimeR8RDRHR,RI(R RJ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRKs  (RRRRMR RK(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRLs t silent_listcBs,eZdZddZdZdZRS(s override repr when returning a list of matplotlib artists to prevent long, meaningless output. This is meant to be used for a homogeneous list of a give type cCs+||_|dj o|i|ndS(N(ttypeRtextend(R ROtseq((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR s  cCsdt||ifS(Ns(tlenRO(R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt__repr__scCsdt||ifS(Ns(RRRO(R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt__str__sN(RRRRR RSRT(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRNs  cCs:d }|d d !}x |D]}|i|d }qW|S( s%remove latex formatting from mathtexts \mathdefaults\rms\cals\tts\its\t{t}iiR(s \mathdefaults\rms\cals\tts\its\RURV(treplace(Rtremovetr((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt strip_maths  tBunchcBs eZdZdZdZRS(s Often we want to just collect a bunch of stuff together, naming each item of the bunch; a dictionary's OK for that, but a small do- nothing class is even handier, and prettier to use. Whenever you want to group a few variables: >>> point = Bunch(datum=2, squared=4, coord=12) >>> point.datum By: Alex Martelli From: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/52308 cKs|ii|dS(N(t__dict__tupdate(R tkwds((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR sc CsL|ii}ddig}|D]}|d||i|fq#~S(Ns Bunch(%s)s, s%s=%s(R\tkeysR@(R R_R'tk((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRS s(RRRR RS(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR[s  cCs1tg}|D]}||dfq~iS(s'Return a list of unique elements of *x*i(R$R_(txR'tval((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytunique scCsyt|WntSXtS(s return true if *obj* is iterable(RRR<RA(tobj((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytiterables cCsvt|ttfotSti|o0|idjo|iidjotSt Sny |dWnt SXtS(s(Return True if *obj* looks like a stringitSUR( t isinstancetstrRRAtmat isMaskedArraytndimtdtypetkindR<(Rd((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytis_string_likes# cCsKt|ptSt|otSx |D]}t|ptSq+WtS(s@ Returns true if *obj* is iterable and contains strings (ReR<RnRA(Rdto((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytis_sequence_of_strings%s   cCst|do t|iS(sCreturn true if *obj* looks like a file object with a *write* methodtwrite(thasattrtcallableRq(Rd((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytis_writable_file_like/scCst| o t| S(s;return true if *obj* is not string like and is not iterable(RnRe(Rd((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt is_scalar3scCs+y |dWntj otSXtSdS(s(return true if *obj* looks like a numberiN(t TypeErrorR<RA(Rd((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt is_numlike7s  trUcCst|o|ido4ddk}|idd}|i||}nT|ido4|idd}ddk}|i||}nt||}t}n-t |do|}t }n t d|o ||fS|S( s *fname* can be a filename or a file handle. Support for gzipped files is automatic, if the filename ends in .gz. *flag* is a read/write flag for :func:`file` s.gziNtURs.bz2tseeks%fname must be a string or file handle( RntendswithtgzipRWtopentbz2tBZ2FiletfileRARrR<R*(tfnametflagt return_openedR|tfhR~topened((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt to_filehandle=s$       cCst|p t| S(N(RnRe(Rb((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytis_scalar_or_stringZsccsJxC|D];}||o |Vqxt||D] }|Vq3WqWdS(si this generator flattens nested containers such as >>> l=( ('John', 'Hunter'), (1,23), [[[[42,(5,23)]]]]) so that >>> for i in flatten(l): print i, John Hunter 1 23 42 5 23 By: Composite of Holger Krekel and Luther Blissett From: http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/121294 and Recipe 1.12 in cookbook N(tflatten(RQtscalarptitemtsubitem((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR]s tSortercBs>eZdZdZdddZddZeZeZRS(sf Sort by attribute or item Example usage:: sort = Sorter() list = [(1, 2), (4, 8), (0, 3)] dict = [{'a': 3, 'b': 4}, {'a': 5, 'b': 2}, {'a': 0, 'b': 0}, {'a': 9, 'b': 9}] sort(list) # default sort sort(list, 1) # sort by index 1 sort(dict, 'a') # sort a list of dicts by key 'a' cCsK|ig}|D]\}}|||q~}|o ||(n|S(N(R)(R tdatatauxtinplaceR'tjunktitresult((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt_helpers  + icCs|djo1|o|i|}n|}|i|Sg}tt|D]}|||||fqU~}|i|||SdS(N(RR)trangeRRR(R Rt itemindexRRR'RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytbyItems    ;cCsSg}tt|D] }|t||||fq~}|i|||S(N(RRRtgetattrR(R Rt attributenameRR'RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt byAttributes@N( RRRRRRRR)R (((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRts   tXlatorcBs)eZdZdZdZdZRS(sm All-in-one multiple-string-substitution class Example usage:: text = "Larry Wall is the creator of Perl" adict = { "Larry Wall" : "Guido van Rossum", "creator" : "Benevolent Dictator for Life", "Perl" : "Python", } print multiple_replace(adict, text) xlat = Xlator(adict) print xlat.xlat(text) cCs(tiditti|iS(s= Build re object based on the keys of the current dictionary t|(tretcompileR@tmaptescapeR_(R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt _make_regexscCs||idS(s( Handler invoked for each regex *match* i(tgroup(R tmatch((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR scCs|ii||S(s. Translate *text*, returns the modified text. (Rtsub(R ttext((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytxlats(RRRRR R(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRs  icCsd}d}d}xw|iD]i}|ioV|p |}n|t|td}| p||djo||7}qqqW||d}|idd}||d| S(s6 soundex module conforming to Odell-Russell algorithm t01230120022455012623010202RtAiit0(tuppertisalphatordRW(tnameRRtsoundex_digitstsndxtfctctd((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytsoundexs   RcBsVeZdZdZdZdZdZdZdZdZ dZ RS( s0 Null objects always and reliably "do nothing." cOsdS(N((R R5R6((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR scOs|S(N((R R5R6((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR scCsdS(NsNull()((R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRTscCsdS(NsNull()((R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRSscCsdS(Ni((R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt __nonzero__scCs|S(N((R R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt __getattr__scCs|S(N((R Rtvalue((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt __setattr__scCs|S(N((R R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt __delattr__s( RRRR R RTRSRRRR(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRs       icCsytii|pwtii|}xbtdt|dD]C}tii|| }tii|pti||qBqBWnWnCtj o7}|i t i jptii | oqnXdS(s make directory *newdir* recursively, and set *mode*. Equivalent to :: > mkdir -p NEWDIR > chmod MODE NEWDIR iN( tostpathtexiststsplitRRRR@tmakedirstOSErrorterrnotEEXISTtisdir(tnewdirtmodetpartsRtthispartterr((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytmkdirss 'tGetRealpathAndStatcBseZdZdZRS(cCs h|_dS(N(t_cache(R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR scCs|ii|}|djojtii|}tidjo |}n"ti|}|i |i f}||f}||i|s((RRRR RRRR(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR"s    cCsbd}xOt|tt|D]2\}}|t|d7}||jo|Sq"Wt|S(so *seq* is a list of words. Return the index into seq such that:: len(' '.join(seq[:ind])<=N ii(tzipRRR(RQtNtsLentwordtind((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt get_split_indCs  c Csdt|i}|t|}|id}t|}d}g}xC||jo5|} |t|||7}|i|| |!qPW|di|dd} x-|dD]!} | |di| d7} qW| S(s*wrap *text* with *prefix* at length *cols*t is i(RRt expandtabsRRRR@( tprefixRtcolstpadt availableRQtNseqRtlinestlastIndtrettline((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytwrapSs    s(?:(?: ?)|^)( *)\ScCs|pdSti|}|djo|S|id|id}|djo|Sti|d}|djo!tid|}|t|RtgetpidRRRARAt readlinesR Rt startswithR(RR=R>tpidta2tmem((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt report_memory|s s0In safezip, len(args[0])=%d but len(args[%d])=%dcGsut|d}xXt|dD]F\}}t||jo'tt||dt|fq!q!Wt|S(s-make sure *args* are equal len before zippingii(RRRR*t _safezip_msgR(R5tNxRR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytsafezips  +cCs,yt||SWntj otSXdS(s;return issubclass(x, klass) and return False on a TypeErrorN(t issubclassRvR<(Ratklass((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytissubclass_safescCsPti|}y&tii|dt}|iWntj o|SX|S(Ntcopy(tnpt asanyarrayRitmasked_invalidR<t shrink_maskRv(Ratxm((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pytsafe_masked_invalidst MemoryMonitorcBsSeZddZdZdZddZdddZddd d ZRS( i NcCs5||_ti|ifti|_|idS(N(t_nmaxRStzerostint32t_memR#(R tnmax((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR s cCsd|_t|_dS(Ni(t_nR<t _overflow(R ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR#s cCsLt}|i|ijo#||i|i<|id7_n t|_|S(Ni(RKR_RZR]RAR`(R RJ((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyR s   icCs|i}t||}t||}td||}|d|d s ( RRRRqRhRORgR$R.treprR(tindexttuple(RRtsteptnextRRb(t outstream(sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt print_paths(     csoidt|nd|t|<i|}x~|D]v}||jo|qH|jpt|oqHqHt||jo|||||gqHqHWdS(Ns%d (RqRRRR;t get_referentsRg(RdRtallt current_patht referentstreferent(Rt show_progressR|tobjectstgcRvR}(sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyRs sExamining: %r (RttypesRvRq(RR|RRd((RRR|RRRvR}sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/cbook.pyt print_cycless !tGroupercBsPeZdZgdZdZdZdZdZdZdZ RS(s This class provides a lightweight way to group arbitrary objects together into disjoint sets when a full-blown graph data structure would be overkill. Objects can be joined using :meth:`join`, tested for connectedness using :meth:`joined`, and all disjoint sets can be retreived by using the object as an iterator. The objects being joined must be hashable. For example: >>> g = grouper.Grouper() >>> g.join('a', 'b') >>> g.join('b', 'c') >>> g.join('d', 'e') >>> list(g) [['a', 'b', 'c'], ['d', 'e']] >>> g.joined('a', 'b') True >>> g.joined('a', 'c') True >>> g.joined('a', 'd') False cCs;h}|_x'|D]}t|g|t|sl       G        3!    !   (   O      4Bp  L 3  6