/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/cbook.pyc (56755B)
sJc@sdZddklZddkZddkZddkZddkZddkZddkZddk Z ddk Z ddk Z ddk Z ddk Z ddkZddkZddkiZddklZei\ZZZZZye iZWneefj o dZnXdZ ddqdYZ!de!fd YZ"d e!fd YZ#d e!fd YZ$de!fdYZ%de!fdYZ&ddrdYZ'de i(fdYZ)de)fdYZ*de)fdYZ+de,fdYZ-dZ.ddsdYZ/dZ0d Z1d!Z2d"Z3d#Z4d$Z5d%Z6d&e7d'Z8d(Z9e9d)Z:d*dtd+YZ;d,e<fd-YZ=d.d/Z>d0dud1YZ?d2d3Z@d4dvd5YZAeAZBd6ZCd7dwd8YZDd9ZEd:ZFeiGd;ZHhZId<ZJd=d>d?d@ZKdAZLdBdCZMddDZNdEZOdFZPdGZQdHZRdIe<fdJYZSdKdxdLYZTdMZUe7dNZVdOZWd?dPZXdQZYdRZZdSZ[dTZ\dUdydVYZ]ei^e7dWZ_dXe`fdYYZadZZbd[Zcd\Zdeed]Zfdzd{d|d}gZge<egZhehiigZjegD]Zkejekd>ekd?fq[je7dfZldgZmdhddiZndjZodkZpdlZqdmZresdnjo|eOd>d>d>gptteOd>d>d?g ptteOgptteOd~ptteOd pttndS(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((s6/usr/lib64/python2.6/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 ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt__init__$s cCs||ijo|iS|S(N(R R (R R((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt__call__'scCs|i p ||ijS(N(tstripR (R R((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt is_missing+sN(t__name__t __module__t__doc__RR R R(((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyRs ttostrcBseZdZdddZRS(sconvert to string or NoneRtcCsti|d|d|dS(NR R (RR (R R R ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR 0s(RRRR (((s6/usr/lib64/python2.6/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 ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR 5scCs>|i|o|iSti||i}ti|d S(Ni(RR ttimetstrptimeRtdatetime(R Rttup((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR :sN(RRRRR R (((s6/usr/lib64/python2.6/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 ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR CscCs>|i|o|iSti||i}ti|d S(Ni(RR RRRRtdate(R RR((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR GsN(RRRRR R (((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyRAsttofloatcBs&eZdZdddZdZRS(sconvert to a float or NoneRcCsti||||_dS(N(RR R (R R R ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR NscCs"|i|o|iSt|S(N(RR tfloat(R R((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR QsN(RRRRR R (((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyRLsttointcBs&eZdZdddZdZRS(sconvert to an int or NoneRcCsti||dS(N(RR (R R R ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR XscCs"|i|o|iSt|S(N(RR tint(R R((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR [sN(RRRRR R (((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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#((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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,((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pytprocesss (RRRR R+R-R3R7(((s6/usr/lib64/python2.6/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 ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR s   cCs3|iodS|ii|it|_dS(N(R=R?R"tjointTrue(R ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pytstops    ( RRRR9tLocktidlelockR;R RB(((s6/usr/lib64/python2.6/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,((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR s  cCsdx]|iipL|ii|itii|i|}tii|pPqqWdS(N(R?tisSetRFR8RDtacquireR,trelease(R tb((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pytruns  (RRRR RK(((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyREs tIdlecBs&eZdZdZdZdZRS(s3 Schedule callbacks when scheduler is idle g?cCsti|||_dS(N(R8R R,(R R,((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR s cCsdx]|iipL|iititii|i|}tii |pPqqWdS(N( R?RGRFRLtwaittimeR8RDRHR,RI(R RJ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyRKs  (RRRRMR RK(((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR s  cCsdt||ifS(Ns(tlenRO(R ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt__repr__scCsdt||ifS(Ns(RRRO(R ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt__str__sN(RRRRR RSRT(((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyRS s(RRRR RS(((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR[s  cCs1tg}|D]}||dfq~iS(s'Return a list of unique elements of *x*i(R$R_(txR'tval((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pytunique scCsyt|WntSXtS(s return true if *obj* is iterable(RRR<RA(tobj((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt is_scalar3scCs+y |dWntj otSXtSdS(s(return true if *obj* looks like a numberiN(t TypeErrorR<RA(Rd((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt to_filehandle=s$       cCst|p t| S(N(RnRe(Rb((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pytbyItems    ;cCsSg}tt|D] }|t||||fq~}|i|||S(N(RRRtgetattrR(R Rt attributenameRR'RR((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt byAttributes@N( RRRRRRRR)R (((s6/usr/lib64/python2.6/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 ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt _make_regexscCs||idS(s( Handler invoked for each regex *match* i(tgroup(R tmatch((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR scCs|ii||S(s. Translate *text*, returns the modified text. (Rtsub(R ttext((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pytxlats(RRRRR R(((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pytsoundexs   RcBsVeZdZdZdZdZdZdZdZdZ dZ RS( s0 Null objects always and reliably "do nothing." cOsdS(N((R R5R6((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR scOs|S(N((R R5R6((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR scCsdS(NsNull()((R ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyRTscCsdS(NsNull()((R ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyRSscCsdS(Ni((R ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt __nonzero__scCs|S(N((R R((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt __getattr__scCs|S(N((R Rtvalue((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt __setattr__scCs|S(N((R R((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyt __delattr__s( RRRR R RTRSRRRR(((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pytmkdirss 'tGetRealpathAndStatcBseZdZdZRS(cCs h|_dS(N(t_cache(R ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR scCs|ii|}|djojtii|}tidjo |}n"ti|}|i |i f}||f}||i|s((RRRR RRRR(((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/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((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pytsafezips  +cCs,yt||SWntj otSXdS(s;return issubclass(x, klass) and return False on a TypeErrorN(t issubclassRvR<(Ratklass((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pytissubclass_safescCsPti|}y&tii|dt}|iWntj o|SX|S(Ntcopy(tnpt asanyarrayRitmasked_invalidR<t shrink_maskRv(Ratxm((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pytsafe_masked_invalidst MemoryMonitorcBsSeZddZdZdZddZdddZddd d ZRS( i NcCs5||_ti|ifti|_|idS(N(t_nmaxRStzerostint32t_memR#(R tnmax((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR s cCsd|_t|_dS(Ni(t_nR<t _overflow(R ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR#s cCsLt}|i|ijo#||i|i<|id7_n t|_|S(Ni(RKR_RZR]RAR`(R RJ((s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyR s   icCs|i}t||}t||}td||}|d|d s ( RRRRqRhRORgR$R.treprR(tindexttuple(RRtsteptnextRRb(t outstream(s6/usr/lib64/python2.6/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}(s6/usr/lib64/python2.6/site-packages/matplotlib/cbook.pyRs sExamining: %r (RttypesRvRq(RR|RRd((RRR|RRRvR}s6/usr/lib64/python2.6/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