/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/lines.pyc (56431B)
6Jc@ sdZddklZddkZddklZddklZddkZddkl Z ddk l Z l Z l Z lZlZlZddklZdd klZdd klZlZlZlZdd klZdd klZed \ZZZZ Z!Z"Z#Z$e%dZ&dZ'de fdYZ(dfdYZ)e(i*Z+e(i,Z-e(i.Z.ei/e(ei0dd?6d@dA6dBe 6dCe 6dDe 6dEe 6dFe 6dGe6dHe6dIe6d d 6d d 6d d 6ZZdZdJZdZdZdPZdddddddddQddddddRdddSZdTZdUZdVZdWZdXZdYZdZZ d[Z!d\Z"d]Z#e$i#ie#_d^Z%d_Z&dd`Z'daZ(dbZ)e*dcZ+ddZ,deZ-dfZ.dgZ/dhZ0diZ1djZ2dkZ3dlZ4dmZ5e6dnZ7e6doZ8e6dpZ9dqZ:drZ;dsZ<dtZ=duZ>dvZ?dwZ@dxZAdyZBdzZCd{ZDd|ZEd}ZFd~ZGdZHdZIdZJdZKdZLdZMdZNdZOdZPdZQdZReSiTddZUdZVdZWeXddgddgddgddggZYdZZdZ[dZ\dZ]dZ^dZ_dZ`dZadZbdZcdZdeXddgddggZedZfdZgeXddgddggZhdZidZjeXddgddggZkdZldZmeXddgddgddgddggeXineXioeXineXiogZpdZqeXddgddgddgddgddgddggeXineXioeXineXioeXineXiogZrdZsdZtdZudZveXddgddgddggZwdZxdZydZzdZ{eXddgddgddgddggeXineXioeXineXiogZ|dZ}dZ~dZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZdZRS(s A line - the line can have both a solid linestyle connecting all the vertices, and a marker at each vertex. Additionally, the drawing of the solid line is influenced by the drawstyle, eg one can create "stepped" lines in various styles. t _draw_solidt-t _draw_dasheds--t_draw_dash_dots-.t _draw_dottedt:t _draw_nothingtNonet tt _draw_linestdefaultt_draw_steps_mids steps-midt_draw_steps_pres steps-pret_draw_steps_posts steps-posttstepst _draw_pointt.t _draw_pixelt,t _draw_circletot_draw_triangle_downtvt_draw_triangle_upt^t_draw_triangle_lefttt_draw_tri_downt1t _draw_tri_upt2t_draw_tri_leftt3t_draw_tri_rightt4t _draw_squaretst_draw_pentagontpt _draw_start*t_draw_hexagon1tht_draw_hexagon2tHt _draw_plust+t_draw_xR!t _draw_diamondtDt_draw_thin_diamondtdt _draw_vlinet|t _draw_hlinet_t_draw_tickleftt_draw_tickrightt _draw_tickupt_draw_tickdownt_draw_caretleftt_draw_caretrightt _draw_caretupt_draw_caretdownitbutttroundt projectingtmitertbevelcC s|idjo d|iSt|do[t|idjoEd|id|id|id|id|id|idfSt|doLddig}t|i|iD]\}}|d ||fq~Sd SdS( NR=s Line2D(%s)t_xis#Line2D((%g,%g),(%g,%g),...,(%g,%g))iiRGs(%g,%g)sLine2D()(t_labelthasattrRR|t_ytjointzip(tselft_[1]R!R"((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt__str__s &BItfullicK sti|t|ptdnt|ptdn|djotd}n|djotd}n|djotd}n|djotd}n|djotd}n| djotd} n| djotd } n|djotd }n|djotd }n|djotd }n|djo d }n|i| |i||i||i ||i ||i ||i ||i ||i||i||i| |i|d|_|i| |i| |i||i| d|_d|_|i|||_t|io|i|_ntig|_tig|_ t!|_"|i#||dS(s Create a :class:`~matplotlib.lines.Line2D` instance with *x* and *y* data in sequences *xdata*, *ydata*. The kwargs are :class:`~matplotlib.lines.Line2D` properties: %(Line2D)s See :meth:`set_linestyle` for a decription of the line styles, :meth:`set_marker` for a description of the markers, and :meth:`set_drawstyle` for a description of the draw styles. sxdata must be a sequencesydata must be a sequenceslines.linewidthslines.linestyles lines.markers lines.colorslines.markersizeslines.antialiasedslines.dash_capstyleslines.dash_joinstyleslines.solid_capstyleslines.solid_joinstyleR?g?N($Rt__init__Rt RuntimeErrorR;Rtset_dash_capstyletset_dash_joinstyletset_solid_capstyletset_solid_joinstylet set_linestylet set_drawstylet set_linewidtht set_colort set_markert set_markeverytset_antialiasedtset_markersizet_dashSeqtset_markerfacecolortset_markeredgecolortset_markeredgewidtht set_fillstylet_point_size_reductiontverticalOffsettupdatet pickradiusRt_pickerRtasarrayt_xorigt_yorigtTruet_invalidtset_data(Rtxdatatydatat linewidtht linestyletcolortmarkert markersizetmarkeredgewidthtmarkeredgecolortmarkerfacecolort fillstylet antialiasedt dash_capstyletsolid_capstyletdash_joinstyletsolid_joinstyleRt drawstylet markeverytkwargs((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRsl!                                    c C st|io|i||St|ip tdn|io|int|idjo t hfS|i i \}}|i |}|i }|dddf}|dddf}|idjotid|i}n|iid|i}|idjoF||id||id}titi||d\} nt|i|i|||} t oM|id jo=d G|iGd G|iG|iGHd G|GHd G|GHdG| GHnt| djtd| fS(s. Test whether the mouse event occurred on the line. The pick radius determines the precision of the location test (usually within five points of the value). Use :meth:`~matplotlib.lines.Line2D.get_pickradius` or :meth:`~matplotlib.lines.Line2D.set_pickradius` to view or modify it. Returns *True* if any values are within the radius along with ``{'ind': pointlist}``, where *pointlist* is the set of points within the radius. TODO: sort returned indices by distance s pick radius should be a distanceiNis,no figure set when check if mouse is on linegR@R;ius Checking linetattxttyttind(sNoneN(tcallablet _containsRRt ValueErrorRtrecacheRt_xytFalset_transformed_pathtget_transformed_path_and_affinettransform_pathtverticestfigureR;twarningRtdpit _linestyleR!R"RRt less_equalR2R}tdict( Rt mouseeventtpathtaffinetxyRRtpixelsRjR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytcontainss6       &   cC s|iS(s1return the pick radius used for containment tests(R(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_pickradius?scC s ||_dS(scSets the pick radius used for containment tests ACCEPTS: float distance in points N(R(RRj((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytset_pickradiusCscC s|iS(s& return the marker fillstyle (t _fillstyle(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt get_fillstyleJscC s!|djpt||_dS(s Set the marker fill style; 'full' means fill the whole marker. The other options are for half filled markers ACCEPTS: ['full' | 'left' | 'right' | 'bottom' | 'top'] RtlefttrighttbottomttopN(RRRsbottomstop(tAssertionErrorR(Rtfs((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRPscC s ||_dS(s Set the markevery property to subsample the plot when using markers. Eg if ``markevery=5``, every 5-th marker will be plotted. *every* can be None Every point will be plotted an integer N Every N-th marker will be plotted starting with marker 0 A length-2 tuple of integers every=(start, N) will start at point start and plot every N-th marker ACCEPTS: None | integer | (startind, stride) N(t _markevery(Rtevery((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRZscC s|iS(sreturn the markevery setting(R(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt get_markeveryoscC s0t|o ||_n ||_||_dS(sSets the event picker details for the line. ACCEPTS: float distance in points or callable pick function ``fn(artist, event)`` N(RRRR(RR]((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt set_pickerss   cC svti}|i|ii|idt|idj o.|i d|i i d}|i |}n|S(NtignoregR@g?( R tunittupdate_from_data_xyt get_transformt transformt get_xydataRt_markerR;t _markersizeRRtpadded(Rtrenderertbboxtms((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_window_extents !cC sxti|||idj o"|iiid|i|_n|idj o"|iiid|i|_ ndS(Ntunits( Rtset_axestxaxisR;t callbackstconnectRt_xcidtyaxist_ycid(Rtax((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs "cG sAt|djo|d\}}n |\}}d}ti|pti|}|d7}nti|pti|}|d7}n|djp~||ij o/|i|iijpUti||ijp?||ij oN|i|iijpti||ijo||_||_t |_ ndS(sA Set the x and y data ACCEPTS: 2D array iiiN( RRt isMaskedArrayRRRtshapetanyRRR(RtargsR!R"t not_masked((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs$  //  cC s+ti|ipti|io^ti|i|it}ti|i|it}ti|}ti|}n[t i|i|it}t i|i|it}t i|}t i|}t |djo0t |djo|t i |i t}nt |djo0t |djo|t i |i t}nt |t |jot dn|it |df}|it |df}ti|pti|oti||fd|_nt i||fd|_|idddf|_|idddf|_t|_|ioot |djo\|i|oL|iidjo9|iidjo#|iidjo t|_nt|do|ii}nd}t|id||_d|_ t|_!dS(Nis'xdata and ydata must be the same lengthiidt rectilineartlineart_path("RRRRRtconvert_xunitstfloattconvert_yunitsRRRtonesRRtreshapeRRR|RRt _subslicetaxest _is_sortedtnamet get_xscalet get_yscaleRR~Rt_interpolation_stepsR R;RR(RR!R"tinterpolation_steps((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRsD&&&  -  cC sU|dj o#t|i|ddf}n |i}t||i|_dS(N(R;R RRRRR(RtsubsliceR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt_transform_paths # cC sti||t|_dS(s set the Transformation instance used by this artist ACCEPTS: a :class:`matplotlib.transforms.Transform` instance N(Rt set_transformRR(Rtt((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyR scC s:t|djodSti|d|dd!djS(sreturn true if x is sortediiii(RRtalltrue(RR!((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRscC s|io|in|io|io||ii\}}|ii|gd\}|ii|gd\}tt|dd|d}|i |n|i djo|i n|i pdS|i d|i|i}|i||i|i|i|i|i|i|i|i|io|i}|i} n|i}|i} |i| |i||i |i!|i"i#|i$d} | djo|i i%\} } t&| i'oVt(|| |_)|i*i#|i+d} t(|| } | ||| | i,qMn|i-dj ov|i}|i||i|i.|i|i/|i|i|i0i#|i-d} | djo|i i1\} } t&| i'o|i2}|dj ot3|o|\}}nd|}}| i4dj o| i4|d|}nd}| i'|d|}t5||}n| }t(|| }||||| i,qn|i6n|i6|i7ddS(NRRiitline2dR:R>(8RRRRt get_xboundR|t searchsortedtslicetmaxR RR;t get_visiblet open_grouptget_gidtnew_gct _set_gc_cliptset_foregroundt_colorRt _antialiasedRt _linewidtht set_alphat_alphat is_dashedt _dashcapstylet_dashjoinstylet_solidcapstylet_solidjoinstylet set_joinstylet set_capstyletset_snaptget_snapt _lineStylestgetRRRRtgetattrt _lineFunct drawStylest _drawstyletfrozenRtget_markeredgecolort_markeredgewidtht_markerst!get_transformed_points_and_affineRRtcodesR trestoret close_group(RRtx0tx1ti0ti1R tgctcapRtfuncnamettpathRtdrawFuncRtstartindtstrideR3Rt subsampledt markerFunc((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytdrawsz             !       ! cC s|iS(N(R(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_antialiased>scC s|iS(N(R(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt get_color?scC s|iS(N(R-(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt get_drawstyle@scC s|iS(N(R(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt get_linestyleAscC s|iS(N(R(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt get_linewidthCscC s|iS(N(R(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt get_markerDscC sQt|io3|idjo#|i|ijodS|iSn|iS|iS(Ntautotk(Rt_markeredgecolorRtfilled_markersR(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyR/Fs cC s|iS(N(R0(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_markeredgewidthRscC sw|idjp&t|io|iidjo|iSt|io|iidjo|iS|iSdS(NtnoneRJ(t_markerfacecolorR;RtlowerR(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_markerfacecolorTscC s|iS(N(R(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_markersize`scC s"|id||id|fS(sa Return the xdata, ydata. If *orig* is *True*, return the original data torig(t get_xdatat get_ydata(RRT((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_databscC s.|o|iS|io|in|iS(s| Return the xdata. If *orig* is *True*, return the original data, else the processed data. (RRRR|(RRT((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRUks  cC s.|o|iS|io|in|iS(s| Return the ydata. If *orig* is *True*, return the original data, else the processed data. (RRRR(RRT((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRVxs  cC s|io|in|iS(se Return the :class:`~matplotlib.path.Path` object associated with this line. (RRR(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_paths cC s|io|in|iS(s< Return the *xy* data as a Nx2 numpy array. (RRR(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs cC s ||_dS(sk True if line should be drawin with antialiased rendering ACCEPTS: [True | False] N(R(Rtb((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRscC s ||_dS(sR Set the color of the line ACCEPTS: any matplotlib color N(R(RR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRscC s ||_dS(sA Set the drawstyle of the plot 'default' connects the points with lines. The steps variants produce step-plots. 'steps' is equivalent to 'steps-pre' and is maintained for backward-compatibility. ACCEPTS: [ 'default' | 'steps' | 'steps-pre' | 'steps-mid' | 'steps-post' ] N(R-(RR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs cC s ||_dS(sV Set the line width in points ACCEPTS: float value in points N(R(Rtw((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRsc C s xtg}|i|ifD]}||iq~tD]Z}|i|oD|i|t|t|jo|t|}qd}q=q=W||ijo<|t jot |}qt i d|t |fn|djo d}n||_ dS(so Set the linestyle of the line (also accepts drawstyles) ================ ================= linestyle description ================ ================= '-' solid '--' dashed '-.' dash_dot ':' dotted 'None' draw nothing ' ' draw nothing '' draw nothing ================ ================= 'steps' is equivalent to 'steps-pre' and is maintained for backward-compatibility. .. seealso:: :meth:`set_drawstyle` To set the drawing style (stepping) of the plot. ACCEPTS: [ '-' | '--' | '-.' | ':' | 'None' | ' ' | '' ] and any drawstyle in combination with a linestyle, e.g. 'steps--'. R5sUnrecognized line style %s, %sR<R=R;N(R<R=(R t _drawStyles_lt _drawStyles_stkeysRt startswithRRR(RRtreportttypeR(RRRRKtds((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs *     cC se||ijo!tid|t|fn|djo d}n||_|i||_dS(s~ Set the line marker ========== ========================== marker description ========== ========================== '.' point ',' pixel 'o' circle 'v' triangle_down '^' triangle_up '<' triangle_left '>' triangle_right '1' tri_down '2' tri_up '3' tri_left '4' tri_right 's' square 'p' pentagon '*' star 'h' hexagon1 'H' hexagon2 '+' plus 'x' x 'D' diamond 'd' thin_diamond '|' vline '_' hline TICKLEFT tickleft TICKRIGHT tickright TICKUP tickup TICKDOWN tickdown CARETLEFT caretleft CARETRIGHT caretright CARETUP caretup CARETDOWN caretdown 'None' nothing ' ' nothing '' nothing ========== ========================== ACCEPTS: [ '+' | '*' | ',' | '.' | '1' | '2' | '3' | '4' | '<' | '>' | 'D' | 'H' | '^' | '_' | 'd' | 'h' | 'o' | 'p' | 's' | 'v' | 'x' | '|' | TICKUP | TICKDOWN | TICKLEFT | TICKRIGHT | 'None' | ' ' | '' ] s Unrecognized marker style %s, %sR<R=R;N(R<R=(R1RR_R`Rt _markerFunc(RR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs3    cC s$|djo d}n||_dS(sR Set the marker edge color ACCEPTS: any matplotlib color RJN(R;RL(Rtec((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyR&s  cC s(|djotd}n||_dS(s] Set the marker edge width in points ACCEPTS: float value in points slines.markeredgewidthN(R;RR0(Rtew((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyR0s cC s$|djo d}n||_dS(sR Set the marker face color ACCEPTS: any matplotlib color RJN(R;RP(Rtfc((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyR:s  cC s ||_dS(sG Set the marker size in points ACCEPTS: float N(R(Rtsz((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRDscC s|i||idS(sH Set the data np.array for x ACCEPTS: 1D array N(RR(RR!((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt set_xdataLscC s|i|i|dS(sH Set the data np.array for y ACCEPTS: 1D array N(RR(RR"((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt set_ydataTscC sK|djpt|djo|idn|id||_dS(s Set the dash sequence, sequence of dashes with on off ink in points. If seq is empty or if seq = (None, None), the linestyle will be set to solid. ACCEPTS: sequence of on/off ink in points iR5s--N(NN(R;RRR(Rtseq((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyt set_dashes\s  cC s|i||||dS(N(R+(RRR:Rttrans((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyR>kscC s|i}tidt|ddfti}|dddf|dddf|ddddf<|ddddf<|dddf|dddf|ddddf<|ddddfs   c C s|i}|djotdn|i|i|idjd|i|i}ti|}|i}ti ddd} |i || ||||dS(NRsWnon-full markers have not been implemented for this marker style yet; please contributeg@g?it innerCirclegŋ!r?( RRtR&RuRR RwRvR tunit_regular_starRx( RRR:RRzRRRR{t _starpath((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyR^Is   c C s|i}|djotdn|i|i|idjd|i|i}ti|}|i}|i|t i d||||dS(NRsWnon-full markers have not been implemented for this marker style yet; please contributeg@g?i( RRtR&RuRR RwRvRxR R( RRR:RRzRRRR{((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyR`Vs   c C s|i}|djotdn|i|i|idjd|i|i}ti|id}|i}|i |t i d||||dS(NRsWnon-full markers have not been implemented for this marker style yet; please contributeg@g?ii( RRtR&RuRR RwRRvRxR R( RRR:RRzRRRR{((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRbbs   cC sg|i|i|idjd|i|i}ti|}|i||i|||dS(Ng?g?(R&RuRR RwRxt_line_marker_path(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRkos cC sp|i|i|idjd|i|i}ti|id}|i||i|||dS(Ng?g?iZ(R&RuRR RwRRxR(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRmws cC sg|i|i|idj|i|i}ti| d}|i||i|||dS(Ng?(R&RuRR RwRxt_tickhoriz_path(RRR:RRzRtmarker_transform((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRos cC sf|i|i|idj|i|i}ti|d}|i||i|||dS(Ng?(R&RuRR RwRxR(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRps gcC sf|i|i|idj|i|i}tid|}|i||i|||dS(Ng?(R&RuRR RwRxt_tickvert_path(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRqs cC sg|i|i|idj|i|i}tid| }|i||i|||dS(Ng?(R&RuRR RwRxR(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRrs cC sg|i|i|idjd|i|i}ti|}|i||i|||dS(Ng@g?(R&RuRR RwRxt _plus_path(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRds g?g?gcC sg|i|i|idjd|i|i}ti|}|i||i|||dS(Ng@g?(R&RuRR RwRxt _tri_path(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRRs cC sp|i|i|idjd|i|i}ti|id}|i||i|||dS(Ng@g?i(R&RuRR RwRRxR(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRTs cC sp|i|i|idjd|i|i}ti|id}|i||i|||dS(Ng@g?iZ(R&RuRR RwRRxR(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRVs cC sp|i|i|idjd|i|i}ti|id}|i||i|||dS(Ng@g?i(R&RuRR RwRRxR(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRXs g?cC sg|i|i|idjd|i|i}ti|}|i||i|||dS(Ng@g?(R&RuRR RwRxt _caret_path(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRvs cC sp|i|i|idjd|i|i}ti|id}|i||i|||dS(Ng@g?i(R&RuRR RwRRxR(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRus cC sp|i|i|idjd|i|i}ti|id}|i||i|||dS(Ng@g?i(R&RuRR RwRRxR(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRss cC sp|i|i|idjd|i|i}ti|id}|i||i|||dS(Ng@g?iZ(R&RuRR RwRRxR(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRts cC sg|i|i|idjd|i|i}ti|}|i||i|||dS(Ng@g?(R&RuRR RwRxt_x_path(RRR:RRzRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRfs cC sti|||i|_|i|_|i|_|i|_|i|_|i|_|i|_|i |_ |i |_ |i |_ |i |_ |i |_ |i|_|i|_|i|_|i|_dS(s"copy properties from other to selfN(Rt update_fromRRRRRPRLR0RRR R!R"R#RR-(Rtother((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs"               cC sI|i}t|o|idjo d}nti|}|S(NRO(RRRRQR;R tto_rgb(Rt facecolorR{((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRvs    cC s|i|dS(salias for set_antialiasedN(R(Rtval((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytset_aascC s|i|dS(salias for set_colorN(R(RR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytset_c#scC s|i|dS(salias for set_linestyleN(R(RR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytset_ls(scC s|i|dS(salias for set_linewidthN(R(RR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytset_lw-scC s|i|dS(salias for set_markeredgecolorN(R(RR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytset_mec2scC s|i|dS(salias for set_markeredgewidthN(R(RR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytset_mew7scC s|i|dS(salias for set_markerfacecolorN(R(RR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytset_mfc<scC s|i|dS(salias for set_markersizeN(R(RR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytset_msAscC s |iS(salias for get_antialiased(RD(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_aaEscC s |iS(salias for get_color(RE(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_cIscC s |iS(salias for get_linestyle(RG(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_lsNscC s |iS(salias for get_linewidth(RH(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_lwSscC s |iS(salias for get_markeredgecolor(R/(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_mecXscC s |iS(salias for get_markeredgewidth(RN(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_mew]scC s |iS(salias for get_markerfacecolor(RR(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_mfcbscC s |iS(salias for get_markersize(RS(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_msgscC sN|i}||ijo%td|fd|ifn||_dS(si Set the join style for dashed linestyles ACCEPTS: ['miter' | 'round' | 'bevel'] s set_dash_joinstyle passed "%s"; svalid joinstyles are %sN(RQt validJoinRR!(RR[((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRks   cC sN|i}||ijo%td|fd|ifn||_dS(sh Set the join style for solid linestyles ACCEPTS: ['miter' | 'round' | 'bevel'] s!set_solid_joinstyle passed "%s"; svalid joinstyles are %sN(RQRRR#(RR[((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRvs   cC s|iS(s: Get the join style for dashed linestyles (R!(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_dash_joinstylescC s|iS(s9 Get the join style for solid linestyles (R#(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_solid_joinstylescC sN|i}||ijo%td|fd|ifn||_dS(sm Set the cap style for dashed linestyles ACCEPTS: ['butt' | 'round' | 'projecting'] sset_dash_capstyle passed "%s"; svalid capstyles are %sN(RQtvalidCapRR (RR[((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs   cC sN|i}||ijo%td|fd|ifn||_dS(sm Set the cap style for solid linestyles ACCEPTS: ['butt' | 'round' | 'projecting'] s set_solid_capstyle passed "%s"; svalid capstyles are %sN(RQRRR"(RR[((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs   cC s|iS(s9 Get the cap style for dashed linestyles (R (R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_dash_capstylescC s|iS(s8 Get the cap style for solid linestyles (R"(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytget_solid_capstylescC s |idjS(s return True if line is dashstyles--s-.R9(s--s-.R9(R(R((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs( RIRMRKRORQR[RjRhRaRcR]R_(RwsroundRy(RzsroundR{N(t__name__t __module__t__doc__t lineStylesR(R[R\R,RtTICKLEFTt TICKRIGHTtTICKUPtTICKDOWNt CARETLEFTt CARETRIGHTtCARETUPt CARETDOWNtmarkersR1RMtzorderRRRR;RRRRRRRRRRRRRRR R RRRCRDRERFRGRHRIR/RNRRRSRRWRURVRXRRRRRRRRRRRRgRhRjR>RARBR@R:R4R6R7R8RDR RR}RFRHR R~RLRJRNRPRZRgRiR\R^R`RbRRkRmRRoRpRRqRrtMOVETOtLINETORRdRRRRTRVRXRRvRuRsRtRRfRRvRRRRRRRRRRRRRRRRRRRRRRRRR(((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyR3Ns      M ;        . L             1 ;             0                 '                             tVertexSelectorcB s)eZdZdZdZdZRS(s Manage the callbacks to maintain a list of selected vertices for :class:`matplotlib.lines.Line2D`. Derived classes should override :meth:`~matplotlib.lines.VertexSelector.process_selected` to do something with the picks. Here is an example which highlights the selected verts with red circles:: import numpy as np import matplotlib.pyplot as plt import matplotlib.lines as lines class HighlightSelected(lines.VertexSelector): def __init__(self, line, fmt='ro', **kwargs): lines.VertexSelector.__init__(self, line) self.markers, = self.axes.plot([], [], fmt, **kwargs) def process_selected(self, ind, xs, ys): self.markers.set_data(xs, ys) self.canvas.draw() fig = plt.figure() ax = fig.add_subplot(111) x, y = np.random.rand(2, 30) line, = ax.plot(x, y, 'bs-', picker=5) selector = HighlightSelected(line) plt.show() cC st|dptdn|idjotdn|i|_||_|iii|_|iid|i |_ t |_ dS(s Initialize the class with a :class:`matplotlib.lines.Line2D` instance. The line should already be added to some :class:`matplotlib.axes.Axes` instance and should have the picker property set. Rs'You must first add the line to the Axess2You must first set the picker property of the linet pick_eventN( R~Rt get_pickerR;RtlineRtcanvast mpl_connecttonpicktcidtsetR(RR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs  cC sdS(s Default "do nothing" implementation of the :meth:`process_selected` method. *ind* are the indices of the selected vertices. *xs* and *ys* are the coordinates of the selected vertices. N((RRtxstys((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pytprocess_selectedscC s|i|ij odSxE|iD]:}||ijo|ii|q"|ii|q"Wt|i}|i|ii\}}|i|||||dS(s=When the line is picked, update the set of selected indicies.N( tartistRRtremovetaddtlisttsortRWR(RteventtiRRR((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs  (RRRRRR(((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyRs  (3Rt __future__RtnumpyRRt matplotlibRRRtcbookRRRRRR tcolorsR RR t transformsR R RRRRtrangeRRRRRRRRRRR2R3RR(RR1t lineMarkersR,tkwdoctkwdocdRtim_func(((s6/usr/lib64/python2.6/site-packages/matplotlib/lines.pyts6  ."$  )sO