?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@ sddklZddkZddkZddkZddkiZddk i Z ddk l Z ddk i Z ddkiZddklZde idd8efd9YZ?d:e?fd;YZ@dS(<i(tdivisionN(tallow_rasterization(tPaths$ ================= ============================================== Property Description ================= ============================================== alpha float animated [True | False] antialiased or aa [True | False] clip_box a matplotlib.transform.Bbox instance clip_on [True | False] edgecolor or ec any matplotlib color facecolor or fc any matplotlib color figure a matplotlib.figure.Figure instance fill [True | False] hatch unknown label any string linewidth or lw float lod [True | False] transform a matplotlib.transform transformation instance visible [True | False] zorder any number ================= ============================================== tPatchcB s[eZdZdZdZdZdZdZdZdZ dZ d Z d Z d Z e Zd ZeZd ZeZdZeZdZeZdZdZdZdZdZdZdZdZdZdZ dZ!dZ"dZ#dZ$dZ%e&dZ'd Z(d"d!Z*RS(#s A patch is a 2D thingy with a face color and an edge color. If any of *edgecolor*, *facecolor*, *linewidth*, or *antialiased* are *None*, they default to their rc params setting. icC st|iiddS(Nt.i(tstrt __class__tsplit(tself((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt__str__3scC sA|i}|i}|i|}t|o |dSgS(s Return a copy of the vertices used in this patch If the patch contains Bézier curves, the curves will be interpolated by line segments. To access the curves as curves, use :meth:`get_path`. i(t get_transformtget_patht to_polygonstlen(Rttranstpathtpolygons((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt get_verts6s     cC sUt|io|i||S|ii|i|if|i}|hfS(sUTest whether the mouse event occurred in the patch. Returns T/F, {} (tcallablet _containsR tcontains_pointtxtyR (Rt mouseeventtinside((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytcontainsEs  cC s|ii||iS(sz Returns *True* if the given point is inside the path (transformed with its transform attribute). (R RR (Rtpoint((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRTscC stii|||i|i|i|i|i|i|i |i |i |i |i |i|i|i|i|i|i|idS(sM Updates this :class:`Patch` from the properties of *other*. N(tartisttArtistt update_fromt set_edgecolort get_edgecolort set_facecolort get_facecolortset_filltget_fillt set_hatcht get_hatcht set_linewidtht get_linewidtht set_linestylet get_linestylet set_transformtget_data_transformt set_figuret get_figuret set_alphat get_alpha(Rtother((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR\scC s|ii|iS(s Return a :class:`~matplotlib.transforms.Bbox` object defining the axis-aligned extents of the :class:`Patch`. (R t get_extentsR (R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR1kscC s|itii|S(sm Return the :class:`~matplotlib.transforms.Transform` applied to the :class:`Patch`. (tget_patch_transformRRR (R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR rscC stii|S(N(RRR (R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR+yscC s tiS(N(t transformstIdentityTransform(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR2|scC s|iS(sV Returns True if the :class:`Patch` is to be drawn with antialiasing. (t _antialiased(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytget_antialiasedscC s|iS(s> Return the edge color of the :class:`Patch`. (t _edgecolor(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRscC s|iS(s> Return the face color of the :class:`Patch`. (t _facecolor(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR!scC s|iS(s2 Return the line width in points. (t _linewidth(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR'scC s|iS(sk Return the linestyle. Will be one of ['solid' | 'dashed' | 'dashdot' | 'dotted'] (t _linestyle(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR)scC s+|djotid}n||_dS(sp Set whether to use antialiased rendering ACCEPTS: [True | False] or None for default spatch.antialiasedN(tNonetmpltrcParamsR5(Rtaa((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytset_antialiaseds cC s |i|S(salias for set_antialiased(R?(RR>((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytset_aascC s+|djotid}n||_dS(sx Set the patch edge color ACCEPTS: mpl color spec, or None for default, or 'none' for no color spatch.edgecolorN(R;R<R=R7(Rtcolor((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs cC s |i|S(salias for set_edgecolor(R(RRA((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytset_ecscC s+|djotid}n||_dS(sx Set the patch face color ACCEPTS: mpl color spec, or None for default, or 'none' for no color spatch.facecolorN(R;R<R=R8(RRA((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s cC s |i|S(salias for set_facecolor(R (RRA((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytset_fcscC s|i||i|dS(s  Set both the edgecolor and the facecolor. ACCEPTS: matplotlib color arg or sequence of rgba tuples .. seealso:: :meth:`set_facecolor`, :meth:`set_edgecolor` For setting the edge or face color individually. N(R R(Rtc((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt set_colors cC s+|djotid}n||_dS(s_ Set the patch linewidth in points ACCEPTS: float or None for default spatch.linewidthN(R;R<R=R9(Rtw((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR&s cC s |i|S(salias for set_linewidth(R&(Rtlw((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytset_lwscC s$|djo d}n||_dS(sg Set the patch linestyle ACCEPTS: ['solid' | 'dashed' | 'dashdot' | 'dotted'] tsolidN(R;R:(Rtls((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR(s cC s |i|S(salias for set_linestyle(R((RRJ((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytset_lsscC s ||_dS(sP Set whether to fill the patch ACCEPTS: [True | False] N(tfill(Rtb((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR"scC s|iS(sreturn whether fill is set(RL(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR#scC s ||_dS(s Set the hatching pattern *hatch* can be one of:: / - diagonal hatching \ - back diagonal | - vertical - - horizontal + - crossed x - crossed diagonal o - small circle O - large circle . - dots * - stars Letters can be combined, in which case all the specified hatchings are done. If same letter repeats, it increases the density of hatching of that pattern. Hatching is supported in the PostScript, PDF, SVG and Agg backends only. ACCEPTS: [ '/' | '\\' | '|' | '-' | '+' | 'x' | 'o' | 'O' | '.' | '*' ] N(t_hatch(Rthatch((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR$scC s|iS(s#Return the current hatching pattern(RN(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR%sc C s|ipdS|id|i|i}ti|io'|iidjo|idn1|i |i|i|i |i |i |i |i|i||id|i|i|i|i|i p9|idjp)ti|io-|iidjod}|idnDtii|i|i\}}}}|||f}|i||io|i|in|i}|i } | i!|} | i"} |i#|| | ||i$|i%ddS(s0Draw the :class:`Patch` to the given *renderer*.Ntpatchtnoneit projectingg?(&t get_visiblet open_grouptget_gidtnew_gctcbooktis_string_likeR7tlowerR&tset_foregroundR9R(R:R?R5t _set_gc_clipt set_capstyletset_urlt_urltset_snapt_snapRLR8R;R.tcolorstcolorConvertertto_rgbat_alphaRNR$R R ttransform_path_non_affinet get_affinet draw_pathtrestoret close_group( RtrenderertgctrgbFacetrtgRMtaRt transformttpathtaffine((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytdraws<  )  )'      cC stddS(s/ Return the path of this patch sDerived must overrideN(tNotImplementedError(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR KscC s|ii|iS(N(R R1R (RRj((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytget_window_extentQsN(+t__name__t __module__t__doc__tzorderR RRRRR1R R+R2R6tget_aaRtget_ecR!tget_fcR'tget_lwR)tget_lsR?R@RRBR RCRER&RHR(RKR"R#R$R%RRsR R;Ru(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR+sN                        , t RectangletCircletRegularPolygontPolygontWedgetArrowt FancyArrowtYAArrowt CirclePolygontEllipsetArctFancyBboxPatchc K stii||djotid}n|djo d}n|djotid}n|i||i||i||i ||i ||i |||_ t i|_t|oti||ndS(sE The following kwarg properties are supported %(Patch)s spatch.linewidthRIspatch.antialiasedN(RRt__init__R;R<R=RR R&R(R?R$RLR3R4t_combined_transformR tsetp( Rt edgecolort facecolort linewidtht linestylet antialiasedRORLtkwargs((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt__patch__init__\s"           tShadowcB seZdZd dZeieiei e_dZ dZ dZ dZ dZdZdZd Zd ZRS( cC sdt|iS(Ns Shadow(%s)(RRP(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR scK sOti|||_||_|||_|_ti|_|i dS(s Create a shadow of the given *patch* offset by *ox*, *oy*. *props*, if not *None*, is a patch property update dictionary. If *None*, the shadow will have have the same color as the face, but darkened. kwargs are %(Patch)s N( RRRPtpropst_oxt_oyR3tAffine2Dt_shadow_transformt_update(RRPtoxtoyRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs   cC s|i|i|idj o|i|in~tii|ii\}}}}d}||}||}||}|i |||df|i |||dfdS(Ng333333?g?( RRPRR;tupdateRaRbRcR!R R(RRmRnRMRotrho((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs'   cC sA|i|i}|i|i}|iii||dS(N(tpoints_to_pixelsRRRtcleart translate(RRjRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_update_transformscC s|iS(N(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_get_oxscC s ||_dS(N(R(RR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_set_oxscC s|iS(N(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_get_oyscC s ||_dS(N(R(RR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_set_oyscC s |iiS(N(RPR (R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR scC s|ii|iS(N(RPR2R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR2scC s!|i|ti||dS(N(RRRs(RRj((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRss N(RvRwR R;RRWtdedentRxRtkwdocdRRRRRRR R2Rs(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs          cB seZdZdZdZeieieie_dZ dZ dZ dZ dZ dZd Zd Zd Zd Zd ZdZdZdZdZdZeeeZRS(sh Draw a rectangle with lower left at *xy* = (*x*, *y*) with specified *width* and *height*. cC s*|iid|i|i|i|ifS(Ns (%g,%g;%gx%g)(RRvt_xt_yt_widtht_height(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s cK sOti|||d|_|d|_||_||_ti|_dS(s| *fill* is a boolean indicating whether to fill the rectangle Valid kwargs are: %(Patch)s iiN( RRRRRRR3R4t_rect_transform(RtxytwidththeightR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs     cC s tiS(s6 Return the vertices of the rectangle (Rtunit_rectangle(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR scC sy|i|i}|i|i}|i|i}|i|i}tii||||}ti ||_ dS(sNOTE: This cannot be called until after this has been added to an Axes, otherwise unit conversion will fail. This maxes it very important to call the accessor method and not directly access the transformation member variable. N( tconvert_xunitsRtconvert_yunitsRRRR3tBboxt from_boundstBboxTransformToR(RRRRRtbbox((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_update_patch_transforms cC s|i|iS(N(RR(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR2s cC s|idjp|idjo thfS|iii|i|if\}}|djo$|djo|djo |djhfS(Nigg?(RRtFalseR tinvertedttransform_pointRR(RRRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs   cC s|iS(s&Return the left coord of the rectangle(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytget_xscC s|iS(s(Return the bottom coord of the rectangle(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytget_yscC s|i|ifS(s2Return the left and bottom coords of the rectangle(RR(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytget_xyscC s|iS(s"Return the width of the rectangle(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt get_widthscC s|iS(s"Return the height of the rectangle(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt get_height scC s ||_dS(sM Set the left coord of the rectangle ACCEPTS: float N(R(RR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytset_x scC s ||_dS(sO Set the bottom coord of the rectangle ACCEPTS: float N(R(RR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytset_yscC s|\|_|_dS(sc Set the left and bottom coords of the rectangle ACCEPTS: 2-item sequence N(RR(RR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytset_xyscC s ||_dS(sA Set the width rectangle ACCEPTS: float N(R(RRF((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt set_width%scC s ||_dS(sA Set the width rectangle ACCEPTS: float N(R(Rth((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt set_height-scG sgt|djo|d\}}}}n|\}}}}||_||_||_||_dS(sj Set the bounds of the rectangle: l,b,w,h ACCEPTS: (left, bottom, width, height) iN(R RRRR(RtargstlRMRFR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt set_bounds5s   cC s%tii|i|i|i|iS(N(R3RRRRRR(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytget_bboxDs(RvRwRxR RRWRRRR RR2RRRRRRRRRRRRRtpropertyR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs*                cB seZdZdZdddZeieieie_dZ dZ dZ e e e Z dZd Ze eeZd Zd Ze eeZd Zd Ze eeZdZdZRS(s" A regular polygon patch. cC s"d|i|id|idfS(Ns Poly%d(%g,%g)ii(t _numVerticest_xy(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR MsiicK sc||_||_||_||_ti||_ti|_ |i t i ||dS(sf Constructor arguments: *xy* A length 2 tuple (*x*, *y*) of the center. *numVertices* the number of vertices. *radius* The distance from the center to each of the vertices. *orientation* rotates the polygon (in radians). Valid kwargs are: %(Patch)s N( RRt _orientationt_radiusRtunit_regular_polygont_pathR3Rt_poly_transformRRR(RRt numVerticestradiust orientationR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRPs     cC s5|iii|ii|ii|idS(N(RRtscaleRtrotateRRR(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRps  cC s|iS(N(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_get_xyvscC s|idS(N(R(RR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_set_xyxscC s|iS(N(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_get_orientation|scC s ||_dS(N(R(RR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_set_orientation~scC s|iS(N(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt _get_radiusscC s ||_dS(N(R(RR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt _set_radiusscC s|iS(N(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_get_numverticesscC s ||_dS(N(R(RR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_set_numverticesscC s|iS(N(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR scC s|i|iS(N(RR(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR2s (RvRwRxR RRWRRRRRRRRRRRRRRRRt numverticesR R2(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRIs&           t PathPatchcB sEeZdZdZdZeieieie_dZ RS(s) A general polycurve path patch. cC sdt|iidS(NsPoly((%g, %g) ...)i(ttupleRtvertices(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR scK sti||||_dS(s *path* is a :class:`matplotlib.path.Path` object. Valid kwargs are: %(Patch)s .. seealso:: :class:`Patch` For additional kwargs N(RRR(RRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs cC s|iS(N(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s( RvRwRxR RRWRRRR (((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs   cB seZdZdZedZeieiei e_dZ dZ dZ dZ dZe ZeZee ed dZRS( s" A general polygon patch. cC sdt|iidS(NsPoly((%g, %g) ...)i(RRR(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR scK sEti||ti|ti}t||_|i|dS(s0 *xy* is a numpy array with shape Nx2. If *closed* is *True*, the polygon will be closed so the starting and ending points are the same. Valid kwargs are: %(Patch)s .. seealso:: :class:`Patch` For additional kwargs N(RRtnptasarraytfloat_RRt set_closed(RRtclosedR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRscC s|iS(N(R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR scC s|iS(N(t_closed(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt get_closedscC s||_|i}|oLt|o;|d|djio ti||dgg}qn@t|djo,|d|djio|dd!}n|i|dS(Niii(RRR tanyRt concatenatetallR(RRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs  ($.cC s |iiS(N(RR(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRscC st||_dS(N(RR(RR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRssSet/get the vertices of the polygon. This property is provided for backward compatibility with matplotlib 0.91.x only. New code should use :meth:`~matplotlib.patches.Polygon.get_xy` and :meth:`~matplotlib.patches.Polygon.set_xy` instead.N(RvRwRxR tTrueRRWRRRR RRRRRRRR;R(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs       cB sHeZdZdZddZeieiei e_dZ RS(s Wedge shaped patch. cC sd|i|ifS(Ns Wedge(%g,%g)(ttheta1ttheta2(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR scK sti||||_|||_|_|||_|_||}t||ddjod\}}ti }n ti }ti ||} |dj o| i } | i dddt|||} ti| | | dddfdg} ti| i| i|tig} || t| ig?cs s$||}||}||||}||||}||}||} | djo,|||} | ||} | | fVn| djo|djo d} nd} ti| } x_dD]S}|||| || |} | ||ti|| |} | | fVqWndS(Nggg?(g?g(RRR(tx0ty0R0R1RRtdr2tDtD2tdiscrimRRtsign_dyt sqrt_discrimtsign((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytiter_circle_intersect_on_lines(        $c 3 sd}||jo||}}n||}}||jo||}}n||}}||8}||8}||7}||7}xf||||D]O\} } | |jo6| |jo)| |jo| |jo| | fVqqWdS(Ng& .>(( R\R]R0R1tepsilontx0etx1ety0ety1eRR(Re(s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt!iter_circle_intersect_on_line_segs         4g@gf@iiiiNg\! Ag\!A(%thasattrt RuntimeErrorRRRRRRR RRRRRRRRsRR3RR[RRt transformedRtpiR/RtarccosR;tkeystsorttappendRR-R.RR(RRjRRt inv_errorRktbox_pathtbox_path_transformtPItTWOPItRAD2DEGtDEG2RADRRtthetastp0tp1R\R]R0R1RRR:t last_thetat theta1_radR((Res8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRssd.                    ' ( RvRwRxR RRWRRRRRs(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs   %c C s|djo h}n|i}|idd}|i|}|i|}|i\}}}} ||d8}||d8}||7}| |7} td||fd|d| d|} | iti | i t | i || i |dS( sd This is a debug function to draw a rectangle around the bounding box returned by :meth:`~matplotlib.artist.Artist.get_window_extent` of an artist, to test whether the artist is returning the correct bbox. *props* is a dict of rectangle props with the additional property 'pad' that sets the padding around the bbox in points. tpadig@RRRRLN(R;tcopyRWRRutboundsRR*R3R4t set_clip_onRRRs( RRjRRLRRRRMRFRRm((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt bbox_artistWs&       RGc C s|i\}}}}td||fd|d|d|dt}|dj o|i|n|it|i|dS(s This is a debug function to draw a rectangle around the bounding box returned by :meth:`~matplotlib.artist.Artist.get_window_extent` of an artist, to test whether the artist is returning the correct bbox. RRRRRLN(t get_boundsRRR;R*RRs( RRjRARRRMRFRRm((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt draw_bboxvs   icC s |od|}nd}g}|dD] }|gq*~}x;|D]3}x*t||D]\}}|i|q]WqGWg}|D]4}|tg} |D]}| t|q~ q~} g} |dig} | D]} | d| q~ }| id| i|| i|dig}t|d| D]\}} ||i| q?~| i|| ig}|dD]M}||dig}t|| D]\}} ||i| q~q~| i|| iddi| S(sR Given the list of list of strings, return a string of REST table format. t tis t=is (R/RstmaxR tjointljusttextend(t_tablet leadingspaceRt_[1]tcelltcolumnstrowtcolumnt_[2]t_[3]tcol_lentlinest_[4]tclttable_formatstrt_[5]t_[6]t_[7]((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt _pprint_tables*% H2  Q  _  c C sQ|od|}nd}ggg}}}ddk}dddgg}xt|iD]\}} |i| i\} } } } | o>g}t| d| D]\}}|||fq~} nd} | djo d }n;d ig}| D]\}}|d ||fq~}|i| i d ||gq`Wt |S( s A helper function for the _Style class. Given the dictionary of (stylename : styleclass), return a formatted string listing all the styles. Used to update the documentation. RRiNtClasstNametAttrsiR;t,s%s=%ss``%s``( tinspecttsortedtitemst getargspecRR/R;RRsRvR(t_stylesRRtnamestattrsstclssRRtnametclsRtvarargstvarkwtdefaultsRtargnamet argdefaulttargstrRtantav((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_pprint_styless$  7  :!t_StylecB s5eZdZdZedZedZRS(s A base class for the Styles. It is meant to be a container class, where actual styles are declared as subclass of it, and it provides some helper functions. c K s |iddid}|di}y|i|}Wn#tj otd|nXykg}|dD]}||idqt~}tg} |D]\} } | | t| fq~ } Wn#tj otd|nX| i||| S( sP return the instance of the subclass with the given style name. RRRisUnknown style : %siRsIncorrect style argument : %s( treplaceRRYt _style_listtKeyErrorRtdictRR( Rt stylenametkwt_listt_namet_clsRtcst _args_pairRRGRt_args((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt__new__s.= cC s|iS(sP A class method which returns a dictionary of available styles. (R(tklass((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt get_stylesscC s t|iS(sP A class method which returns a string of the available styles. (RR(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt pprint_styless(RvRwRxRt classmethodRR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs tBoxStylecB s*eZdZhZdefdYZdefdYZeed) &  ? 7 X   cB sXeZdZdZdddddZeZee i edR?R'((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s     cC s9|\}}|\}}||fg}g}tig} |ioti|idti} ti|idti} |i|i} |i || | || | f|i} |i || | || | fn|i o|ti|i dti} ti|i dti}||i | ||i |}}|o|d\}}||||}}||||d}|i ||i||||i||f|i || i ti titign<|d\}}||||}}||||d}||i} || |||| ||f||fg}n|o|d\}}||||}}||||d}|i ||i||||i||f|i || i ti titign|i ||f| i ti t|| S(Ngf@ig?(RRR>R+R-R.RoR.R'RsR?R/RRR(RR"R#R0R1R2R3RtroundedRR0R1tdR2R3tx_armBty_armBtxptypRRtdd((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR! sV    # ' #1   !1  N(RvRwRxR;RR!(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR sRtBarcB s,eZdZdddddZdZRS(s A line with *angle* between A and B with *armA* and *armB*. One of the arm is extend so that they are connected in a right angle. The length of armA is determined by (*armA* + *fraction* x AB distance). Same for armB. gg333333?cC s(||_||_||_||_dS(s# *armA* : minimum length of armA *armB* : minimum length of armB *fraction* : a fraction of the distance between two points that will be added to armA and armB. *angle* : anlge of the connecting line (if None, parallel to A and B) N(R>R?tfractionRO(RR>R?RHRO((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR1 s   c C s2|\}}|\}}\}}||d||d} } ti||||} ||||} } | | | | d}| || |}}|i|i}}|idj o|idti}| |}|ti|}|ti|}||ti|||ti|}}||}||||} } | | | | d}| || |}}nd}t ||}|i ||}||||||}}||||||}}||f||f||f||fg}t i t i t i t i g}t ||S(Ng@g?gf@g(R+R,R>R?ROR;RoR.R-RRHRRR( RR"R#R0R1tx20ty20R2R3R(R)RRRRFtddxtddyR>R?ttheta0tdthetatdltdLtdd2tarmR*tcx1tcy1tcx2tcy2RR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR!= s@  /     N(RvRwRxR;RR!(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRG) s tbartAvailableConnectorstyles(RvRwRxRRRR&R-R5RRGRWRR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs$`# ' = [ R  t ArrowStylecB seZdZhZdefdYZdefdYZdefdYZeed The arrows are drawn if *beginarrow* and/or *endarrow* are true. *head_length* and *head_width* determines the size of the arrow relative to the *mutation scale*. The arrowhead at the begin (or end) is closed if fillbegin (or fillend) is True. N( t beginarrowtendarrowRRt fillbegintfillendRRYReR(RRfRgRhRiRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s c C sj||||}}ti|d|d}d|} d|} | ||} | ||} | | fS(Nig?(R+R( RR\R]R0R1RRRt cp_distancetpadx_projectedtpady_projectedRKRL((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_get_pad_projected s  c C sB||||} } ti| d| d} d||} d||} | | | }| | | }| | || | |} } || || | | || }}|| || || || }}||||||f|||| f||||||fg}tititig}||||fS(s Return the paths for arrow heads. Since arrow lines are drawn with capstyle=projected, The arrow is goes beyond the desired point. This method also returns the amount of the path to be shrinked so that it does not overshoot. ig?(R+RRRR(RR\R]R0R1t head_disttcos_ttsin_tRRRRjRkRlRKRLR6R7R:R;tvertices_arrowt codes_arrow((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt_get_arrow_wedge1 s &% c C s|i||i|}}ti|d|d}||||}}|id\} } |id\} } |io4|i| | | | ||||\} }}}ngg} }d\}}|id\}}|id\}}|io4|i||||||||\}}}}ngg}}d\}}tt i | || |fg|idd!||||fgg|i g}t g}|io|i okt i | | d| dgg}t i |titigg}|it|||itqG|it| ||it n|io|iok|itt i ||d|dgg}t i |titigg}|it||q|it |it||n||fS( Niiigii(gg(gg(RRR+RRRfRsRgRRRRRRhRRRsRRi(RRRRRRRnRoRpR\R]R0R1t verticesAtcodesAtddxAtddyAR2R3tx3ty3t verticesBtcodesBtddxBtddyBRt _fillableRRD((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRZ sT             #!   #! N( RvRwRxR;RRRmRsR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRe s  )tCurvecB seZdZdZRS(s8 A simple curve without any arrow head. cC s&tti|idtdtdS(NRfRg(RRYRRR(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s(RvRwRxR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR st-tCurveAcB seZdZdddZRS(s: An arrow with a head at its begin point. g?g?c C s2tti|idtdtd|d|dS(s *head_length* length of the arrow head *head_width* width of the arrow head RfRgRRN(RRYRRRR(RRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s  (RvRwRxR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR ss<-tCurveBcB seZdZdddZRS(s8 An arrow with a head at its end point. g?g?c C s2tti|idtdtd|d|dS(s *head_length* length of the arrow head *head_width* width of the arrow head RfRgRRN(RRYRRRR(RRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s  (RvRwRxR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR ss->tCurveABcB seZdZdddZRS(sJ An arrow with heads both at the begin and the end point. g?g?c C s2tti|idtdtd|d|dS(s *head_length* length of the arrow head *head_width* width of the arrow head RfRgRRN(RRYRRR(RRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s  (RvRwRxR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR ss<->t CurveFilledAcB seZdZdddZRS(sB An arrow with filled triangle head at the begin. g?g?c C s>tti|idtdtdtdtd|d|dS(s *head_length* length of the arrow head *head_width* width of the arrow head RfRgRhRiRRN(RRYRRRR(RRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s   (RvRwRxR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR ss<|-t CurveFilledBcB seZdZdddZRS(s@ An arrow with filled triangle head at the end. g?g?c C s>tti|idtdtdtdtd|d|dS(s *head_length* length of the arrow head *head_width* width of the arrow head RfRgRhRiRRN(RRYRRRR(RRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s   (RvRwRxR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR ss-|>t CurveFilledABcB seZdZdddZRS(sZ An arrow with filled triangle heads both at the begin and the end point. g?g?c C s>tti|idtdtdtdtd|d|dS(s *head_length* length of the arrow head *head_width* width of the arrow head RfRgRhRiRRN(RRYRRR(RRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s   (RvRwRxR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR ss<|-|>t_Bracketc B sAeZddddddddddd ZdZdZRS(g?g?c C sc|||_|_|||_|_|||_|_|||_|_| | |_|_ dS(N( tbracketAtbracketBtwidthAtwidthBtlengthAtlengthBR.R/tscaleAtscaleB( RRRRRRRR.R/RR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR/ s cC sddkl}||||||\}} } } ||||} } || | | f|| f| | f| | | | fg}titititig}||fS(Ni(tget_normal_points(tmatplotlib.bezierRRRR(RR\R]RoRpRRRR0R1R2R3RRRqRr((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt _get_bracket; s$   cC s|idjo |}n |i}|idjo |}n |i}gg}}|io|id\}} |id\} } t| | || \} } |i|| | | |i||i|\}}|i ||i |n|i |i|i |i |i o|id\}} |id\} } t| | || \} } |i|| | | |i ||i |\}}|i ||i |nti|}ti|}t||}|tfS(Niiii(RR;RRRRRRtlegnthARsRRRRRRRR(RRRRRRt vertices_listt codes_listR\R]R0R1RoRpRtRuRzR{RRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRQ s>           N(RvRwR;RRR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR- s tBracketBcB s eZdZddddZRS(s9 An arrow with a bracket([) at its end. g?g?c C s2tti|idtd|d|dddS(s *widthB* width of the bracket *lengthB* length of the bracket *angleB* angle between the bracket and the line RRR/N(RRYRRR;R(RRRR/((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s N(RvRwRxR;R(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR ss-[tSimplecB s)eZdZddddZdZRS(sK A simple arrow. Only works with a quadratic bezier curve. g?g?cC s7||||_|_|_tti|idS(s *head_length* length of the arrow head *head_with* width of the arrow head *tail_width* width of the arrow tail N(RRt tail_widthRRYRR(RRRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR scC s |i|\}}}}}} |i|} t|| | } ||f||f|| fg} t| | dd\} }|i|}t||ddd\}}|i|}t| |d\}}||}}ti |dfti |dfti |dfti |dfti |dfti |dfti |dfti |dfti |dfti |dfti |dfti |dfti |dfg }tg}|D]\}}||q~g}|D]\}}||q~}|t fS( Nt tolerenceg{Gz?g@twmg?iii(R^RRR RRRRRRRRRR(RRRRR\R]R0R1R2R3Rtin_ft arrow_patht arrow_outtarrow_inRthead_lthead_rRt tail_leftt tail_rightt head_rightt head_leftt patch_pathRRDRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR s8! !   Q(RvRwRxRR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR stsimpletFancycB s)eZdZddddZdZRS(sJ A fancy arrow. Only works with a quadratic bezier curve. g?cC s7||||_|_|_tti|idS(s *head_length* length of the arrow head *head_with* width of the arrow head *tail_width* width of the arrow tail N(RRRRRYRR(RRRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR sc C s||i|\}}}}}} |i|} ||f||f|| fg} t|| | } t| | dd\} }|}t|| | d} t| | dd\} }| }|i|}t||ddd\}}|i|}t||ddd ddd d \}}t|||d } t| | dd\}} |d }||}}ti|fti |d fti |dfti |dfti |d fti |dfti |dfti |dfti |d fti |dfti |dfti |d fti |fti |fg}ti|d fti |dfti |dfti |d fti |dfti |dfti |dfti |d fti |dfti |dfti |d fti |fti |d fti |d fg}tg}|D]\}}||q/~g}|D]\}}||qS~}|t fS(NRg{Gz?g?g@Rg333333?g?tw1g?tw2g333333?iiii( R^RRR RRRRRRRRR( RRRRR\R]R0R1R2R3RRRtpath_outtpath_int path_headt path_tailRRRRRRt tail_startRRRt patch_path2RRDRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR sp! !        Q(RvRwRxRR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyR stfancyRcB s&eZdZdddZdZRS(s Wedge(?) shape. Only wokrs with a quadratic bezier curve. The begin point has a width of the tail_width and the end point has a width of 0. At the middle, the width is shrink_factor*tail_width. g333333?g?cC s,||_||_tti|idS(s *tail_width* width of the tail *shrink_factor* fraction of the arrow width at the middle point N(Rt shrink_factorRRYRR(RRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRK s  c C s<|i|\}}}}}} ||f||f|| fg} t| |i|dd|i\} } ti| dfti| dfti| dfti| dfti| dfti| dfti| dfg} tg}| D]\}}||q~g}| D]\}}||q~}|t fS(Ng@Riii( R^RRRRRRRRR(RRRRR\R]R0R1R2R3Rtb_plustb_minusRRRDRR((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRY s!!Q(RvRwRxRR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRC stwedgetAvailableArrowstyles(RvRwRxRRRReRRRRRRRRRRRRRWRR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRY s:%Z       R A e ,  tFancyArrowPatchcB s#eZdZdZdddddddddddddd ZeZee i ed          cC s8|d jo |i}n|djoG|i}t|i|}t|i|}|i||fS|djo|i\}}|idjo|i ||dS|i |||i\}}|i i }||d9}||d9}||7}||7}||fS|djoP||} } | t i | }| t i| }|i}|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}|ii\} } } }| | } | |}|djo| ||d}n| ||d}|djo|||d}n| ||d}||fS|d jo|ii\} } } }| | } | |}|djo| |}n | |}|djo||}n | |}||fS|d jo|i}|i||fSd S( s< caculate the pixel position of given point tdatas offset pointsgR@tpolars figure pointsis figure pixelssfigure fractions axes pointss axes pixelss axes fractionN(R;R[t transDataRRRRRtxycoordsRR$tget_dpiRR-R.R)RRt transFiguret transAxes(RRRtsR[RRRR)R:RmRRMRFRtt((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.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(RRM((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytset_annotation_clipscC s|iS(s Return *annotation_clip* attribute. See :meth:`set_annotation_clip` for the meaning of return values. (R(R((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytget_annotation_clipsc C s|i\}}|i|||i|i}|i\}}|i|||i|i}|i||d|id|id|i d|i }|i ||i |i |i\}}||fS(sK Return the mutated path of the arrow in the display coord RRRR(RRRRRRRRRRRRRR'R (RRRR"R#RRb((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs       cC s |i}|p|djoY|idjoI|i\}}|i|||i|i}|ii|ptSn|p|djo||i djol|i \}}|i|||i |i }|i djo |i}n |i }|i|ptSnt S(sC check if the annotation need to be drawn. RN( RR;RRRRR[RRRRRR(RRjRMRRtxy_pixelR[((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyt _check_xys $ $   cC sU|dj o ||_n|ipdS|i|pdSti||dS(s Draw. N(R;t _rendererRSRRRs(RRj((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRss   N(RvRwRxR R;RRRWRRRRRRRRRs(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pyRs,  O f   (At __future__RR+t matplotlibR<tnumpyRtmatplotlib.cbookRWtmatplotlib.artistRRtmatplotlib.colorsRatmatplotlib.transformsR3tmatplotlib.pathRRRRR tpatchdocRGR;RRRRxRRRRRRRRRRRRRRRRRRRRRRRR R RRRRRRRRRYRR(((s8/usr/lib64/python2.6/site-packages/matplotlib/patches.pytsz    *  =L=;'ReA) # %0<