?PNG  IHDR ? f ??C1 sRGB ?? gAMA ? a pHYs ? ??od GIDATx^LeY?a?("Bh?_????q5k?*:t0A-o??]VkJM??f?8\k2ll1]q????T
Warning: file_get_contents(https://raw.githubusercontent.com/Den1xxx/Filemanager/master/languages/ru.json): failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /home/user1137782/www/china1.by/classwithtostring.php on line 86

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 213

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 214

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 215

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 216

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 217

Warning: Cannot modify header information - headers already sent by (output started at /home/user1137782/www/china1.by/classwithtostring.php:6) in /home/user1137782/www/china1.by/classwithtostring.php on line 218
Jc@ sdZddklZddkZddkZddklZddklZddk i Z ddk l Z ddk l Z lZddklZdd klZlZlZlZlZddkiZdd klZlZdd klZddkiZe d Z!d Z"de i#dZ=d?Z>d@Z?dAZ@dBZAdCZBdDZCdEZDdFZEdGZFdHZGdIZHdJZIdKZJRS(MsK Handle storing and drawing of text in window or data coordinates. icC s d|i|it|ifS(NsText(%g,%g,%s)(t_ytreprt_text(tself((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt__str__sittbottomtleftc K s!ti|td|_|||_|_|djotd}n|djo t}nt |ot|}n|i ||i |||_ ||_ ||_| |_||_d|_d|_d|_| djo d} n| |_|i| |i| dS(s Create a :class:`~matplotlib.text.Text` instance at *x*, *y* with string *text*. Valid kwargs are %(Text)s is text.colorg333333?N(Rt__init__Rtcachedt_xR<RRRRtset_textt set_colort_verticalalignmentt_horizontalalignmentt_multialignmentt _rotationt_fontpropertiest_bboxt _bbox_patcht _renderert _linespacingtset_rotation_modeR( R?R-R.R%tcolortverticalalignmentthorizontalalignmenttmultialignmenttfontpropertiesRt linespacingt rotation_modeR((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRDs0                  c C st|io|i||S|i p|idjo thfS|ii\}}}}||}||}||f||f||f||ff}|i|i } } t i | | |} | hfS(sTest whether the mouse event occurred in the patch. In the case of text, a hit is true anywhere in the axis-aligned bounding-box containing the text. Returns True or False. N( tcallablet _containst get_visibleRPRtFalsetget_window_extenttboundsR-R.tnxutilstpnpoly( R?t mouseeventtltbR/R0trR+txyvertsR-R.tinside((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytcontainss   *cC s+|i\}}|ii||fS(sDget the (possibly unit converted) transformed x, y in display coords(t get_positiont get_transformR!(R?R-R.((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt_get_xy_displayscC s#|idj o|iS|iSdS(N(RKRRJ(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt_get_multialignmentscC s t|iS(s)return the text angle as float in degrees(RRL(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRscC sA|djp |djo ||_ntdt|dS(s1 set text rotation mode. If "anchor", the un-rotated text will first aligned according to their *ha* and *va*, and then will be rotated with the alignement reference point as a origin. If None (default), the text will be rotated first then will be aligned. tanchortdefaultsUnknown rotation_mode : %sN(Rmsdefault(Rt_rotation_modet ValueErrorR=(R?tm((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRRs cC s|iS(sget text rotation mode(Ro(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytget_rotation_modescC szti|||i|_|i|_|i|_|i|_|ii|_|i|_|i |_ |i |_ dS(s"Copy properties from other to selfN( Rt update_fromt_colorRKRIRJRMtcopyRLt_pickerRQ(R?tother((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRss      c/ C s|i}||ijo |i|Sg}d\}}d\}}d\}} |iid} tit| df} tit| df}|id|idt \} } }| |i }d }xt | D]\}}|i |\}}|i||id|\}}}|d jo||}n||f| |scC s|iS(salias for get_fontproperties(R(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytget_font_propertiesBscC s |iiS(s5Return the list of font families used for font lookup(RMt get_family(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRFscC s |iS(salias for get_family(R(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytget_fontfamilyJscC s |iiS(sReturn the font name as string(RMtget_name(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRNscC s |iiS(sReturn the font style as string(RMt get_style(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRRscC s |iiS(sReturn the font size as integer(RMtget_size_in_points(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRVscC s |iiS(s#Return the font variant as a string(RMt get_variant(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRZscC s |iS(salias for get_variant(R(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytget_fontvariant^scC s |iiS(s'Get the font weight as string or number(RMt get_weight(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRbscC s |iS(salias for get_name(R(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt get_fontnamefscC s |iS(salias for get_style(R(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt get_fontstylejscC s |iS(salias for get_size(R(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt get_fontsizenscC s |iS(salias for get_weight(R(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytget_fontweightrscC s |iiS(s*Get the font stretch as a string or number(RMt get_stretch(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRvscC s |iS(salias for get_stretch(R(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytget_fontstretchzscC s |iS(s!alias for get_horizontalalignment(tget_horizontalalignment(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytget_ha~scC s|iS(sq Return the horizontal alignment as string. Will be one of 'left', 'center' or 'right'. (RJ(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRscC s:t|i|i}t|i|i}||fS(s5Return the position of the text as a tuple (*x*, *y*)(RRRFRR<(R?R-R.((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRisc C s^|i\}}|||i|i|i|it|i|i|ii t |i f S(s Return a hashable tuple of properties. Not intended to be human readable, but useful for backends who want to cache derived information about text (eg layouts) and need to know if the text has changed. ( RiRRtRIRJthashRMRLtfiguretdpitidRP(R?R-R.((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR~s  cC s|iS(sGet the text as string(R>(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRscC s |iS(s&alias for :meth:`getverticalalignment`(tget_verticalalignment(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytget_vascC s|iS(s{ Return the vertical alignment as string. Will be one of 'top', 'center', 'bottom' or 'baseline'. (RI(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRsc C s5|ip tiS|dj o|ii}||i_n|idjo)|i\}}ti||ddS|dj o ||_ n|i djot dn|i |i \}}|i \}} |i i|| f\}} |i|| }|dj o||i_n|S(so Return a :class:`~matplotlib.transforms.Bbox` object bounding the text, in display units. In addition to being used internally, this is useful for specifying clickable regions in a png file on a web page. *renderer* defaults to the _renderer attribute of the text object. This is not assigned until the first execution of :meth:`draw`, so you must use this kwarg if you want to call :meth:`get_window_extent` prior to the first :meth:`draw`. For getting web page regions, it is simpler to call the method after saving the figure. *dpi* defaults to self.figure.dpi; the renderer dpi is irrelevant. For the web application, if figure.dpi is not the value used when saving the figure, then the value that was used must be specified as the *dpi* argument. RAis%Cannot get window extent w/o rendererN(R\R tunitRRRRRkRRPt RuntimeErrorR RiRjR!t translated( R?R&Rtdpi_origttxttyRRR-R.((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR^s&     ! cC sI|idjotd|d||_n|iitd|dS(s Set the background color of the text by updating the bbox. .. seealso:: :meth:`set_bbox` To change the position of the bounding box. ACCEPTS: any matplotlib color t facecolort edgecolorN(RNRtdictR(R?RS((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_backgroundcolors cC s=yt|Wntj ot|}nX||_dS(s] Set the foreground color of the text ACCEPTS: any matplotlib color N(Rt TypeErrorttupleRt(R?RS((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRHs cC s|i|dS(s!alias for set_horizontalalignmentN(tset_horizontalalignment(R?talign((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_hascC s:d}||jotdt|n||_dS(sj Set the horizontal alignment to one of ACCEPTS: [ 'center' | 'right' | 'left' ] RzR{RCs&Horizontal alignment must be one of %sN(scentersrightRC(RptstrRJ(R?R tlegal((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR s cC s|i|dS(salias for set_verticalalignmentN(tset_multialignment(R?R ((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_mascC s:d}||jotdt|n||_dS(s1 Set the alignment for multiple lines layout. The layout of the bounding box of all the lines is determined bu the horizontalalignment and verticalalignment properties, but the multiline text within that box can be ACCEPTS: ['left' | 'right' | 'center' ] RzR{RCs&Horizontal alignment must be one of %sN(scentersrightsleft(RpRRK(R?R R((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR s  cC s ||_dS(s Set the line spacing as a multiple of the font size. Default is 1.2. ACCEPTS: float (multiple of font size) N(RQ(R?tspacing((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_linespacingscC s|ii|dS(s Set the font family. May be either a single string, or a list of strings in decreasing priority. Each string may be either a real font name or a generic font class name. If the latter, the specific font names will be looked up in the :file:`matplotlibrc` file. ACCEPTS: [ FONTNAME | 'serif' | 'sans-serif' | 'cursive' | 'fantasy' | 'monospace' ] N(RMt set_family(R?tfontname((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR"s cC s|ii|dS(sv Set the font variant, either 'normal' or 'small-caps'. ACCEPTS: [ 'normal' | 'small-caps' ] N(RMt set_variant(R?tvariant((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR.scC s |i|S(salias for set_variant(R(R?R((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_fontvariant6scC s |i|S(salias for set_family(R(R?R((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_name:scC s|i|dS(salias for set_familyN(R(R?R((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt set_fontname>scC s|ii|dS(sZ Set the font style. ACCEPTS: [ 'normal' | 'italic' | 'oblique'] N(RMt set_style(R?t fontstyle((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRBscC s |i|S(salias for set_style(R(R?R((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt set_fontstyleJscC s|ii|dS(s Set the font size. May be either a size string, relative to the default font size, or an absolute font size in points. ACCEPTS: [ size in points | 'xx-small' | 'x-small' | 'small' | 'medium' | 'large' | 'x-large' | 'xx-large' ] N(RMtset_size(R?tfontsize((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRNscC s |i|S(salias for set_size(R(R?R ((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt set_fontsizeWscC s|ii|dS(s Set the font weight. ACCEPTS: [ a numeric value in range 0-1000 | 'ultralight' | 'light' | 'normal' | 'regular' | 'book' | 'medium' | 'roman' | 'semibold' | 'demibold' | 'demi' | 'bold' | 'heavy' | 'extra bold' | 'black' ] N(RMt set_weight(R?tweight((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR"[scC s |i|S(salias for set_weight(R"(R?R#((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_fontweightcscC s|ii|dS(s Set the font stretch (horizontal condensation or expansion). ACCEPTS: [ a numeric value in range 0-1000 | 'ultra-condensed' | 'extra-condensed' | 'condensed' | 'semi-condensed' | 'normal' | 'semi-expanded' | 'expanded' | 'extra-expanded' | 'ultra-expanded' ] N(RMt set_stretch(R?tstretch((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR%gscC s |i|S(salias for set_stretch(R%(R?R&((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_fontstretchoscC s&|i|d|i|ddS(sQ Set the (*x*, *y*) position of the text ACCEPTS: (x,y) iiN(tset_xtset_y(R?R((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt set_positionsscC s ||_dS(sJ Set the *x* position of the text ACCEPTS: float N(RF(R?R-((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR(|scC s ||_dS(sJ Set the *y* position of the text ACCEPTS: float N(R<(R?R.((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR)scC s ||_dS(sq Set the rotation of the text ACCEPTS: [ angle in degrees | 'vertical' | 'horizontal' ] N(RL(R?ts((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt set_rotationscC s|i|dS(salias for set_verticalalignmentN(tset_verticalalignment(R?R ((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_vascC s:d}||jotdt|n||_dS(sk Set the vertical alignment ACCEPTS: [ 'center' | 'top' | 'bottom' | 'baseline' ] R|RBRzR}s$Vertical alignment must be one of %sN(stopRBscentersbaseline(RpRRI(R?R R((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR-s cC sd|f|_dS(s Set the text string *s* It may contain newlines (``\n``) or math in LaTeX syntax. ACCEPTS: string or anything printable with '%s' conversion. s%sN(R>(R?R+((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRGscC s{|id|id}|djo|ddj}tdo |dfS|o |tfS|iddtfSdS(sM Returns True if the given string *s* contains any mathtext. t$s\$iis text.usetextTeXN(tcountRtTruetreplaceR](R?R+t dollar_countt even_dollars((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRs   cC s0t|ot|}n|i|_dS(s Set the font properties that control the text. *fp* must be a :class:`matplotlib.font_manager.FontProperties` object. ACCEPTS: a :class:`matplotlib.font_manager.FontProperties` instance N(RRRuRM(R?tfp((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_fontpropertiess cC s|i|dS(salias for set_fontpropertiesN(R7(R?R6((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_font_propertiessN(Kt__name__t __module__t__doc__tzorderR@RRDRhRkRlRRRRrRsR RRRRRRRRRRRRRRRRRRRRRRRRRiR~RRRR^R RHRR RRRRRRRRRRRR!R"R$R%R'R*R(R)R,R.R-RGRR7R8(((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRs   $      $  <  B                        *                  t TextWithDashcB seZdZdZdZddddddddddddddddZd Zd Zd Zd Z dd Z dZ dZ dZ dZdZdZdZdZdZdZdZdZdZdZdZdZRS(s_ This is basically a :class:`~matplotlib.text.Text` with a dash (drawn with a :class:`~matplotlib.lines.Line2D`) before/after it. It is intended to be a drop-in replacement for :class:`~matplotlib.text.Text`, and should behave identically to it when *dashlength* = 0.0. The dash always comes between the point specified by :meth:`~matplotlib.text.Text.set_position` and the text. When a dash exists, the text alignment arguments (*horizontalalignment*, *verticalalignment*) are ignored. *dashlength* is the length of the dash in canvas units. (default = 0.0). *dashdirection* is one of 0 or 1, where 0 draws the dash after the text and 1 before. (default = 0). *dashrotation* specifies the rotation of the dash, and should generally stay *None*. In this case :meth:`~matplotlib.text.TextWithDash.get_dashrotation` returns :meth:`~matplotlib.text.Text.get_rotation`. (I.e., the dash takes its rotation from the text's rotation). Because the text center is projected onto the dash, major deviations in the rotation cause what may be considered visually unappealing results. (default = *None*) *dashpad* is a padding length to add (or subtract) space between the text and the dash, in canvas units. (default = 3) *dashpush* "pushes" the dash and text away from the point specified by :meth:`~matplotlib.text.Text.set_position` by the amount in canvas units. (default = 0) .. note:: The alignment of the two objects is based on the bounding box of the :class:`~matplotlib.text.Text`, as obtained by :meth:`~matplotlib.artist.Artist.get_window_extent`. This, in turn, appears to depend on the font metrics as given by the rendering backend. Hence the quality of the "centering" of the label text with respect to the dash varies depending on the backend used. .. note:: I'm not sure that I got the :meth:`~matplotlib.text.TextWithDash.get_window_extent` right, or whether that's sufficient for providing the object bounding box. t textwithdashcC s d|i|it|ifS(NsTextWithDash(%g,%g,%s)(RFR<R=R>(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR@ siRARzgicC sti|d|d|d|d|d|d|d|d|d | d |  td ||fd ||fdd dd|_t||_t||_| |_| |_| |_ ||_ ||_ dS(NR-R.R%RSRTRURVRWRRXtxdatatydatatkt linestylet-( RRDRtdashlineRt_dashxt_dashyt _dashlengtht_dashdirectiont _dashrotationt_dashpadt _dashpush(R?R-R.R%RSRTRURVRWRRXt dashlengtht dashdirectiont dashrotationtdashpadtdashpush((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRD s$$      cC s:t|i|i}t|i|i}||fS(s5Return the position of the text as a tuple (*x*, *y*)(RRRERRF(R?R-R.((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRi8sc C skg}ti|D] }||q~}|i|i|i|i|i|i|i|i gt |S(s Return a hashable tuple of properties. Not intended to be human readable, but useful for backends who want to cache derived information about text (eg layouts) and need to know if the text has changed. ( RR~R"RFR<RGRHRIRJRKR (R?t_[1]tpR((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR~>s*7cC sH|i|ti|||idjo|ii|ndS(sP Draw the :class:`TextWithDash` object to the given *renderer*. gN(t update_coordsRRtget_dashlengthRD(R?R&((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRJs c!C s|i\}}|i}|djo|||_|_dS|i}|i}|i}|i}t|} t i | d|d} t i | t i | } } |i } | i||f}t i| | g}|||}||||}| i}|it|\}}|it|\}}|ii||f||fti|d|}|i|i}}| djo|}d}ng| djod}|}nJ| | }|}||}||jp|| jo|}||}nt i||gd}|d|t it i||9}||dd|}|it|\}} || |_|_ti|d|}|i|_|iit i|gtti|dti|ddS(s Computes the actual *x*, *y* coordinates for text based on the input *x*, *y* and the *dashlength*. Since the rotation is with respect to the actual canvas's coordinates we need to map back and forth. gNgf@iR&iRz( RiRTRFR<tget_dashrotationtget_dashdirectiont get_dashpadt get_dashpushRRRtcostsinRjR!RtinvertedR RDtset_dataRR^RRtsqrttdottfrozent_twd_window_extenttupdate_from_data_xyR]R R-(!R?R&tdashxtdashyRLRNRMRORPRR)t cos_thetat sin_thetaRtcxytcdtc1tc2tinversetx1ty1tx2ty2tweR/R0tdxtdyt tan_thetatcwdtcwtnewxtnewy((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRSSsZ               'cC s?|i||idjoti|d|S|iSdS(so Return a :class:`~matplotlib.transforms.Bbox` object bounding the text, in display units. In addition to being used internally, this is useful for specifying clickable regions in a png file on a web page. *renderer* defaults to the _renderer attribute of the text object. This is not assigned until the first execution of :meth:`draw`, so you must use this kwarg if you want to call :meth:`get_window_extent` prior to the first :meth:`draw`. For getting web page regions, it is simpler to call the method after saving the figure. gR&N(RSRTRR^R`(R?R&((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR^s cC s|iS(s- Get the length of the dash. (RG(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRTscC s ||_dS(sT Set the length of the dash. ACCEPTS: float (canvas units) N(RG(R?tdl((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_dashlengthscC s|iS(sO Get the direction dash. 1 is before the text and 0 is after. (RH(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRVscC s ||_dS(s Set the direction of the dash following the text. 1 is before the text and 0 is after. The default is 0, which is what you'd want for the typical case of ticks below and on the left of the figure. ACCEPTS: int (1 is before, 0 is after) N(RH(R?tdd((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_dashdirections cC s&|idjo |iS|iSdS(s: Get the rotation of the dash in degrees. N(RIRR(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRUs cC s ||_dS(s\ Set the rotation of the dash, in degrees ACCEPTS: float (degrees) N(RI(R?tdr((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_dashrotationscC s|iS(sW Get the extra spacing between the dash and the text, in canvas units. (RJ(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRWscC s ||_dS(s Set the "pad" of the TextWithDash, which is the extra spacing between the dash and the text, in canvas units. ACCEPTS: float (canvas units) N(RJ(R?tdp((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt set_dashpadscC s|iS(sr Get the extra spacing between the dash and the specified text position, in canvas units. (RK(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRXscC s ||_dS(s Set the "push" of the TextWithDash, which is the extra spacing between the beginning of the dash and the specified position. ACCEPTS: float (canvas units) N(RK(R?R}((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt set_dashpushscC s&|i|d|i|ddS(sd Set the (*x*, *y*) position of the :class:`TextWithDash`. ACCEPTS: (x, y) iiN(R(R)(R?R((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR* scC st||_dS(s\ Set the *x* position of the :class:`TextWithDash`. ACCEPTS: float N(RRE(R?R-((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR(scC st||_dS(s\ Set the *y* position of the :class:`TextWithDash`. ACCEPTS: float N(RRF(R?R.((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR)scC s$ti|||ii|dS(s Set the :class:`matplotlib.transforms.Transform` instance used by this artist. ACCEPTS: a :class:`matplotlib.transforms.Transform` instance N(RRRD(R?R+((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR&scC s|iS(s0return the figure instance the artist belongs to(R(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt get_figure0scC s$ti|||ii|dS(s~ Set the figure instance the artist belong to. ACCEPTS: a :class:`matplotlib.figure.Figure` instance N(Rt set_figureRD(R?tfig((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR4sN(R9R:R;R@RRDRiR~RRSR^RTRxRVRzRUR|RWR~RXRR*R(R)RRR(((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR=sJ2     T          t AnnotationcB seZdZdZdddddZeieiei e_dZ dZ dZ dZ dZd Zd Zd Zd Zd ZRS(s A :class:`~matplotlib.text.Text` class to make annotating things in the figure, such as :class:`~matplotlib.figure.Figure`, :class:`~matplotlib.axes.Axes`, :class:`~matplotlib.patches.Rectangle`, etc., easier. cC s(d|id|idt|ifS(NsAnnotation(%g,%g,%s)ii(RR=R>(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR@Fstdatac K s|djo |}n|djo |}n|\}} |_ti||| ||||_||_||_||_d|_|o>|i do.|i dd|_ t dd ||_ n d|_ d|_dS( s Annotate the *x*, *y* point *xy* with text *s* at *x*, *y* location *xytext*. (If *xytext* = *None*, defaults to *xy*, and if *textcoords* = *None*, defaults to *xycoords*). *arrowprops*, if not *None*, is a dictionary of line properties (see :class:`matplotlib.lines.Line2D`) for the arrow that connects annotation to the point. If the dictionary has a key *arrowstyle*, a FancyArrowPatch instance is created with the given dictionary and is drawn. Otherwise, a YAArow patch instance is created and drawn. Valid keys for YAArow are ========= ============================================================= Key Description ========= ============================================================= width the width of the arrow in points frac the fraction of the arrow length occupied by the head headwidth the width of the base of the arrow head in points shrink oftentimes it is convenient to have the arrowtip and base a bit away from the text and point being annotated. If *d* is the distance between the text and annotated point, shrink will shorten the arrow so the tip and base are shink percent of the distance *d* away from the endpoints. ie, ``shrink=0.05 is 5%%`` ? any key for :class:`matplotlib.patches.polygon` ========= ============================================================= Valid keys for FancyArrowPatch are =============== ====================================================== Key Description =============== ====================================================== arrowstyle the arrow style connectionstyle the connection style relpos default is (0.5, 0.5) patchA default is bounding box of the text patchB default is None shrinkA default is 2 points shrinkB default is 2 points mutation_scale default is text size (in points) mutation_aspect default is 1. ? any key for :class:`matplotlib.patches.PathPatch` =============== ====================================================== *xycoords* and *textcoords* are strings that indicate the coordinates of *xy* and *xytext*. ================= =================================================== Property Description ================= =================================================== 'figure points' points from the lower left corner of the figure 'figure pixels' pixels from the lower left corner of the figure 'figure fraction' 0,0 is lower left of figure and 1,1 is upper, right 'axes points' points from lower left corner of axes 'axes pixels' pixels from lower left corner of axes 'axes fraction' 0,1 is lower left of axes and 1,1 is upper right 'data' use the coordinate system of the object being annotated (default) 'offset points' Specify an offset (in points) from the *xy* value 'polar' you can specify *theta*, *r* for the annotation, even in cartesian plots. Note that if you are using a polar axes, you do not need to specify polar for the coordinate system since that is the native "data" coordinate system. ================= =================================================== If a 'points' or 'pixels' option is specified, values will be added to the bottom-left and if negative, values will be subtracted from the top-right. Eg:: # 10 points to the right of the left border of the axes and # 5 points below the top border xy=(10,-5), xycoords='axes points' Additional kwargs are Text properties: %(Text)s t arrowstyletrelposg?iiN(g?g?(ii(ii(RtxytextRRDRtxycoordst textcoordst arrowpropstarrowthas_keyRt _arrow_relposR Rt_annotation_clip( R?R+RRRRRRR-R.((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRDHs"]           cC s[ti||\}}|idj o)|ii|\}}|p|}n||fS(N(RRhRR(R?teventR+ttinfotatainfo((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRhs cC s\|idj o|ii|n|idj o|ii|nti||dS(N(RRRRR(R?R((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRs cC s-|djoJ|ii}t|i|}t|i|}|i||fS|djo|i\}}|idjo|i||dS|i|||i\}}|i i }||d9}||d9}||7}||7}||fS|djoS||}} | t i |}| t i |}|ii}|i||fS|djo|i i}|i ii\} } } } | | } | | }||d9}||d9}|djo| |}n|djo||}n||fS|djop|i ii\} } } } | | } | | }|djo| |}n|djo||}n||fS|djo |i i}|i||fS|d jo|i i}|iii\} } } } | | } | | }|djo| ||d}n| ||d}|djo|||d}n| ||d}||fS|d jo|iii\} } } } | | } | | }|djo| |}n | |}|djo||}n | |}||fS|d jo |ii}|i||fSdS( NRs offset pointsgR@tpolars figure pointsis figure pixelssfigure fractions axes pointss axes pixelss axes fraction(taxest transDataRRRR!RRt_get_xyRtget_dpiRRYRZRRR_t transFiguret transAxes(R?R-R.R+RRpRqRR)ReRcRdR/R0R+((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRs                                         cC s ||_dS(s) set *annotation_clip* attribute. * True : the annotation will only be drawn when self.xy is inside the axes. * False : the annotation will always be drawn regardless of its position. * None : the self.xy will be checked only if *xycoords* is "data" N(R(R?Rd((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytset_annotation_clip3scC s|iS(s Return *annotation_clip* attribute. See :meth:`set_annotation_clip` for the meaning of return values. (R(R?((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytget_annotation_clip=scC s#|i|}|i||dS(s?Update the pixel positions of the annotated point and the text.N(t_get_position_xyt_update_position_xytext(R?R&txy_pixel((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pytupdate_positionsEscC s%|i\}}|i|||iS(s5Return the pixel position of the the annotated point.(RRR(R?R&R-R.((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRKsc$C s|i\}}|i|||i\|_|_|\}}|i|i}}||}}|io,||} } |i|i\} } } }| | }| |}d| |}d| |}|ii}|i o|i }|i|}|i |i |d}|i |i|d}|i i||f||f|id|i}|i|}|i i||io)|id|i}|i i|q|id|i}|i i|qg}| ||fD]}|t|| |fq~}|i|d\}}g}| ||fD]}|t|| |fq?~}|i|d\}}|idd}ti|| || }ti|| d|| d}||ti|}||ti|} |id d }!|id d }"|id d}#t|i| || | f|||| fd |!d |"d |#||_ |i i!|i"ndS(sFUpdate the pixel positions of the annotation text and the arrow patch.g?iitmutation_scaletpatchAtshrinkgg@Rit headwidthi tfracg?N(#RRRRFR<RR^R_RuRRtx0Rty0Rt set_positionsRRRRRORRNtabstsortRtatan2R]RYRZRRRt set_clip_boxt get_clip_box($R?R&RR-R.tox0toy0tox1toy1RRRcRdR/R0ReR+txctycRRRRRRQtvaltdsut_t_[2]RR)RpRqRRR((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRQsZ$         : : #. cC sP|i}|p|djo,|idjo|ii|ptSntS(sb given the xy pixel coordinate, check if the annotation need to be drawn. RN(RRRRtcontains_pointR]R2(R?R&RRd((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyt _check_xys  $ cC s8|dj o ||_n|ipdS|i|}|i||pdS|i|||i||idj oJ|iidjo#|idj o|i|i_n|ii |n|i dj oJ|i idjo#|idj o|i|i _n|i i |nt i ||dS(sN Draw the :class:`Annotation` object to the given *renderer*. N( RRPR\RRRRRRRRR(R?R&R((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyRs$    ##N(R9R:R;R@RRDRtdedenttartisttkwdocdRhRRRRRRRRR(((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyR?s"  s  _    T (,R;t __future__RRtnumpyRt matplotlibRRtmatplotlib.artistRRtmatplotlib.cbookRRtmatplotlib.font_managerRtmatplotlib.patchesRRR R R tmatplotlib.transformst transformsRR R tmatplotlib.linesRtmatplotlib.nxutilsR`RRRRR;RtkwdocRRDtim_funcR=R(((s5/usr/lib64/python2.6/site-packages/matplotlib/text.pyts<  ( 4 #R%h