ۺJc@s:dZddklZdZdZdZddkZddkZddkZddk Z ddk Z ddk Z ddk Z ddkZ eZee dpdge _nddk Z ddkZddkZdd klZlZlZdd klZe i\ZZZZZed jo ed jZe Z!epe"d nddk#Z#e#ii$dZ%e&e%ddjoe&e%ddjpe"de#indZ'dZ(ddXdYZ)e)Z*dZ+dZ,dZ-dZ.dZ/dZ0dZ1dZ2e*i3de2deZ4d Z5e*i3d!e5deZ6d"Z7d#Z8e*i3d$e8deZ9d%Z:d&Z;d'Z<hd(d)6d(d*6d+d,6d-d.6d/d06d1d26Z=hd3d46d5d66d7d86d9d:6d;d<6Z>d=e?fd>YZ@ed?ZAeAZBe@gZCeiDD]\ZE\ZFZGeCeEeFfq;[CZHe0eBd@eBd@=level. Return value indicates whether a message was issued (tgeR"RR(R#tsR(((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pytreports cs7fdt_i_S(s8 return a callable function that wraps func and reports it output through the verbose handler if current verbosity level is higher than level if always is True, the report will occur on every function call; otherwise only on the first time the function is called csV||}p i o1i|}ip |_qRn|S(N(t_spokeR2(targstkwargstrettspoke(R(talwaysR#twrappertfunctfmt(s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pyR9s  (RR3t__doc__(R#R;R:R(R8((R(R8R#R9R:R;s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pytwraps   cCs|i|i|i|jS(s%return true if self.level is >= level(tvaldR((R#R(((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pyR0s(ssilentRsdebugsdebug-annoyingN(t__name__t __module__R<R'tdictt_[1]t enumeratetiR(R>R&R%R Rtargt startswithR$RR/R2RR=R0(((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pyRs9   c CsvyRtiddgdtidti}|iid}|id}|SWntttfj odSXdS(Ntdvipngs-versionR!R*ii( t subprocesstPopentPIPER!t readlinestsplitt IndexErrorR RR&(R1tlinetv((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pytcheckdep_dvipngs c Csyhtidjoddg}n ddg}ti|dtidti}|iid }|SWnttt fj odSXdS(Ntwin32tgswin32cs --versiontgsR!R*i( R tplatformRHRIRJR!treadRMR RR&(t command_argsR1RO((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pytcheckdep_ghostscript s  c Csyitiddgdtidti}|iid}d}ti||}|id}|SWn tt t t fj odSXdS(Nttexs-versionR!R*is3\.1\d+( RHRIRJR!RKtretsearchtgroupRMR tAttributeErrorRR&(R1RNtpatterntmatchRO((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pyt checkdep_texs c Csydtiddgdtidti}x2|iD]'}d|jo|id}q4q4W|SWn ttttfj odSXdS(Ntpdftopss-vR!R*tversioni( RHRIRJR*RLRMR tUnboundLocalErrorRR&(R1RNRO((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pytcheckdep_pdftops%s   cCsM|o>tii|}tii|}||jotStSntSdS(s.return True if a is greater than or equal to bN(t distutilsRat LooseVersionRR(tatb((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pytcompare_versions0s cCs|ptSt}d}d}t}t||onCt||otid||fnt}tid||djoid}d}t}t||oqt||ot|d oqt}tid|n|o|StSdS( Ns7.07s_ghostscript-%s found. ghostscript-%s or later is recommended to use the ps.usedistiller option.snmatplotlibrc ps.usedistiller option can not be used unless ghostscript-%s or later is installed on your systemtxpdfs3.0s0.9s1.0sgmatplotlibrc ps.usedistiller can not be set to xpdf unless xpdf-%s or later is installed on your system( RRRWRhtverboseR2twarningstwarnRc(R1tflagtgs_reqtgs_suggtgs_vt pdftops_reqtpdftops_req_altt pdftops_v((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pytcheckdep_ps_distiller9s:       c Cs|ptSd}d}d}d}t}t}t||ont}tid|t}t||ont}tidt}t||onCt||oti d||fnt}tid||S(Ns3.1415s7.07s1.5sbmatplotlibrc text.usetex option can not be used unless TeX-%s or later is installed on your systemsqmatplotlibrc text.usetex can not be used with *Agg backend unless dvipng-1.5 or later is installed on your systemsaghostscript-%s found. ghostscript-%s or later is recommended for use with the text.usetex option.scmatplotlibrc text.usetex can not be used unless ghostscript-%s or later is installed on your system( RRR_RhRkRlRPRWRjR2( R1ttex_reqRnRot dvipng_reqRmttex_vtdvipng_vRp((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pytcheckdep_usetex]s8       c Csd}ytiid}WnnXtii|pHxEdD]9}y)ti|}tii|oPnWq@q@Xq@Wn|o|StddS( sFind user's home directory if possible. Otherwise raise error. :see: http://mail.python.org/pipermail/python-list/2005-February/263921.html R t~tHOMEt USERPROFILEtTMPs(please define environment variable $HOMEN(sHOMER|R}(tostpatht expandusertisdirtenviront RuntimeError(Rtevar((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pyt _get_homes"   s$HOME=%sR8cCstiid}|dj o&t|ptd|n|St}tiitd}tii |o+t|ptd||fqn/t|ptd|nti ||S(s Return the string representing the configuration dir. default is HOME/.matplotlib. you can override this with the MPLCONFIGDIR environment variable t MPLCONFIGDIRs$Could not write to MPLCONFIGDIR="%s"s .matplotlibs'%s' is not a writable dir; you must set %s/.matplotlib to be a writable dir. You can also set environment variable MPLCONFIGDIR to any writable directory where you want matplotlib data stored sxFailed to create %s/.matplotlib; consider setting MPLCONFIGDIR to a writable directory for matplotlib configuration dataN( R~RtgetR&RRtget_homeRtjointexiststmkdir(t configdirthR((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pyt_get_configdirs      s CONFIGDIR=%scCsdtijo5tid}tii|ptdn|Stiitiitdg}tii|o|Sddk }tiitii|i idg}tii|o|St t ddotiitiit iddd}tii|o|Stiitiitiit idddd}tii|o|Stiit idd}tii|o|SntddS( sget the path to matplotlib datatMATPLOTLIBDATAs2Path in environment MATPLOTLIBDATA not a directorysmpl-dataiNtfrozenis(Could not find the matplotlib data files(R~RRRRtsepRtdirnamet__file__tmatplotlib.afmtafmtgetattrR R&RL(Rt matplotlib((s9/usr/lib64/python2.6/site-packages/matplotlib/__init__.pyt_get_data_paths0 $ *,3  cCs6tdddjottddYsH   $ .  Q  $ )   "     7   U  5 H " %    #