/opt/alt/python27/lib64/python2.7/site-packages/matplotlib
NameSizeModeActions
backends/-0755rm
delaunay/-0755rm
mpl-data/-0755rm
numerix/-0755rm
projections/-0755rm
sphinxext/-0755rm
afm.py150890644editdlrm
afm.pyc173880644editdlrm
afm.pyo173880644editdlrm
artist.py356230644editdlrm
artist.pyc414310644editdlrm
artist.pyo414310644editdlrm
axes.py2800890644editdlrm
axes.pyc2525680644editdlrm
axes.pyo2514560644editdlrm
axis.py573540644editdlrm
axis.pyc608580644editdlrm
axis.pyo605510644editdlrm
backend_bases.py723180644editdlrm
backend_bases.pyc799690644editdlrm
backend_bases.pyo798790644editdlrm
bezier.py149170644editdlrm
bezier.pyc138120644editdlrm
bezier.pyo138120644editdlrm
blocking_input.py136900644editdlrm
blocking_input.pyc147620644editdlrm
blocking_input.pyo144440644editdlrm
cbook.py427560644editdlrm
cbook.pyc586920644editdlrm
cbook.pyo584660644editdlrm
cm.py80980644editdlrm
cm.pyc100320644editdlrm
cm.pyo100320644editdlrm
collections.py407840644editdlrm
collections.pyc451110644editdlrm
collections.pyo451110644editdlrm
colorbar.py274560644editdlrm
colorbar.pyc258350644editdlrm
colorbar.pyo258350644editdlrm
colors.py391100644editdlrm
colors.pyc406900644editdlrm
colors.pyo406900644editdlrm
contour.py428950644editdlrm
contour.pyc364630644editdlrm
contour.pyo363010644editdlrm
dates.py360070755editdlrm
dates.pyc411350644editdlrm
dates.pyo410710644editdlrm
dviread.py320330644editdlrm
dviread.pyc354880644editdlrm
dviread.pyo353450644editdlrm
figure.py412640644editdlrm
figure.pyc437060644editdlrm
figure.pyo435750644editdlrm
finance.py205820644editdlrm
finance.pyc186750644editdlrm
finance.pyo185150644editdlrm
fontconfig_pattern.py64290644editdlrm
fontconfig_pattern.pyc67100644editdlrm
fontconfig_pattern.pyo67100644editdlrm
font_manager.py426530644editdlrm
font_manager.pyc412750644editdlrm
font_manager.pyo412750644editdlrm
ft2font.so3061680755editdlrm
hatch.py65640644editdlrm
hatch.pyc94840644editdlrm
hatch.pyo94840644editdlrm
image.py315400644editdlrm
image.pyc337830644editdlrm
image.pyo337370644editdlrm
legend.py323020644editdlrm
legend.pyc238760644editdlrm
legend.pyo237030644editdlrm
lines.py546850644editdlrm
lines.pyc579910644editdlrm
lines.pyo578860644editdlrm
mathtext.py1020090644editdlrm
mathtext.pyc1060700644editdlrm
mathtext.pyo1056820644editdlrm
mlab.py942940644editdlrm
mlab.pyc1019150644editdlrm
mlab.pyo1017350644editdlrm
mpl.py7850644editdlrm
mpl.pyc11890644editdlrm
mpl.pyo11890644editdlrm
nxutils.so97040755editdlrm
offsetbox.py298070644editdlrm
offsetbox.pyc348250644editdlrm
offsetbox.pyo347700644editdlrm
patches.py1284850644editdlrm
patches.pyc1337360644editdlrm
patches.pyo1335980644editdlrm
path.py217650644editdlrm
path.pyc214990644editdlrm
path.pyo212790644editdlrm
pylab.py109810644editdlrm
pylab.pyc124380644editdlrm
pylab.pyo124380644editdlrm
pyparsing.py1439240644editdlrm
pyparsing.pyc1511830644editdlrm
pyparsing.pyo1511830644editdlrm
pyplot.py824680644editdlrm
pyplot.pyc819820644editdlrm
pyplot.pyo819820644editdlrm
quiver.py375400644editdlrm
quiver.pyc341520644editdlrm
quiver.pyo341520644editdlrm
rcsetup.py234340644editdlrm
rcsetup.pyc215220644editdlrm
rcsetup.pyo213520644editdlrm
scale.py142330644editdlrm
scale.pyc202540644editdlrm
scale.pyo202540644editdlrm
spines.py126840644editdlrm
spines.pyc118830644editdlrm
spines.pyo114560644editdlrm
table.py168280644editdlrm
table.pyc173730644editdlrm
table.pyo172220644editdlrm
texmanager.py224640644editdlrm
texmanager.pyc202090644editdlrm
texmanager.pyo202090644editdlrm
text.py598220644editdlrm
text.pyc606960644editdlrm
text.pyo606960644editdlrm
ticker.py404280644editdlrm
ticker.pyc521640644editdlrm
ticker.pyo520280644editdlrm
tight_bbox.py36550644editdlrm
tight_bbox.pyc41570644editdlrm
tight_bbox.pyo41570644editdlrm
transforms.py753870644editdlrm
transforms.pyc924320644editdlrm
transforms.pyo915230644editdlrm
ttconv.so654880755editdlrm
type1font.py115370644editdlrm
type1font.pyc114900644editdlrm
type1font.pyo114900644editdlrm
units.py49760644editdlrm
units.pyc59180644editdlrm
units.pyo59180644editdlrm
widgets.py408330644editdlrm
widgets.pyc436080644editdlrm
widgets.pyo434220644editdlrm
windowing.py4540644editdlrm
windowing.pyc13610644editdlrm
windowing.pyo13610644editdlrm
_cm.py3704140644editdlrm
_cm.pyc1030550644editdlrm
_cm.pyo1030550644editdlrm
_cntr.so209600755editdlrm
_delaunay.so611840755editdlrm
_image.so2828560755editdlrm
_mathtext_data.py579900644editdlrm
_mathtext_data.pyc638000644editdlrm
_mathtext_data.pyo638000644editdlrm
_path.so2803120755editdlrm
_png.so1565040755editdlrm
_pylab_helpers.py27150644editdlrm
_pylab_helpers.pyc38380644editdlrm
_pylab_helpers.pyo38380644editdlrm
__init__.py289720644editdlrm
__init__.pyc294350644editdlrm
__init__.pyo293810644editdlrm
Edit: /opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyc (57991B)
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"((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytcontainss6       &   cC s|iS(s1return the pick radius used for containment tests(R(R((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytset_pickradiusCscC s|iS(s& return the marker fillstyle (t _fillstyle(R((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRZscC s|iS(sreturn the markevery setting(R(R((sC/opt/alt/python27/lib64/python2.7/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]((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRsD&&&  -  cC sU|dj o#t|i|ddf}n |i}t||i|_dS(N(R;R RRRRR(RtsubsliceR((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyR scC s:t|djodSti|d|dd!djS(sreturn true if x is sortediiii(RRtalltrue(RR!((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytdrawsz             !       ! cC s|iS(N(R(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_antialiased>scC s|iS(N(R(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyt get_color?scC s|iS(N(R-(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyt get_drawstyle@scC s|iS(N(R(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyt get_linestyleAscC s|iS(N(R(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyt get_linewidthCscC s|iS(N(R(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyt get_markerDscC sQt|io3|idjo#|i|ijodS|iSn|iS|iS(Ntautotk(Rt_markeredgecolorRtfilled_markersR(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyR/Fs cC s|iS(N(R0(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_markeredgewidthRscC sw|idjp&t|io|iidjo|iSt|io|iidjo|iS|iSdS(NtnoneRJ(t_markerfacecolorR;RtlowerR(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_markerfacecolorTscC s|iS(N(R(R((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRVxs  cC s|io|in|iS(se Return the :class:`~matplotlib.path.Path` object associated with this line. (RRR(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_paths cC s|io|in|iS(s< Return the *xy* data as a Nx2 numpy array. (RRR(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRs cC s ||_dS(sk True if line should be drawin with antialiased rendering ACCEPTS: [True | False] N(R(Rtb((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRscC s ||_dS(sR Set the color of the line ACCEPTS: any matplotlib color N(R(RR((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRs cC s ||_dS(sV Set the line width in points ACCEPTS: float value in points N(R(Rtw((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyR:s  cC s ||_dS(sG Set the marker size in points ACCEPTS: float N(R(Rtsz((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRDscC s|i||idS(sH Set the data np.array for x ACCEPTS: 1D array N(RR(RR!((sC/opt/alt/python27/lib64/python2.7/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"((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyt set_dashes\s  cC s|i||||dS(N(R+(RRR:Rttrans((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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{((sC/opt/alt/python27/lib64/python2.7/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{((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRos cC sf|i|i|idj|i|i}ti|d}|i||i|||dS(Ng?(R&RuRR RwRxR(RRR:RRzRR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRps gcC sf|i|i|idj|i|i}tid|}|i||i|||dS(Ng?(R&RuRR RwRxt_tickvert_path(RRR:RRzRR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRqs cC sg|i|i|idj|i|i}tid| }|i||i|||dS(Ng?(R&RuRR RwRxR(RRR:RRzRR((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRs"               cC sI|i}t|o|idjo d}nti|}|S(NRO(RRRRQR;R tto_rgb(Rt facecolorR{((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRvs    cC s|i|dS(salias for set_antialiasedN(R(Rtval((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytset_aascC s|i|dS(salias for set_colorN(R(RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytset_c#scC s|i|dS(salias for set_linestyleN(R(RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytset_ls(scC s|i|dS(salias for set_linewidthN(R(RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytset_lw-scC s|i|dS(salias for set_markeredgecolorN(R(RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytset_mec2scC s|i|dS(salias for set_markeredgewidthN(R(RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytset_mew7scC s|i|dS(salias for set_markerfacecolorN(R(RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytset_mfc<scC s|i|dS(salias for set_markersizeN(R(RR((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytset_msAscC s |iS(salias for get_antialiased(RD(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_aaEscC s |iS(salias for get_color(RE(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_cIscC s |iS(salias for get_linestyle(RG(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_lsNscC s |iS(salias for get_linewidth(RH(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_lwSscC s |iS(salias for get_markeredgecolor(R/(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_mecXscC s |iS(salias for get_markeredgewidth(RN(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_mew]scC s |iS(salias for get_markerfacecolor(RR(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_mfcbscC s |iS(salias for get_markersize(RS(R((sC/opt/alt/python27/lib64/python2.7/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[((sC/opt/alt/python27/lib64/python2.7/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[((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRvs   cC s|iS(s: Get the join style for dashed linestyles (R!(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_dash_joinstylescC s|iS(s9 Get the join style for solid linestyles (R#(R((sC/opt/alt/python27/lib64/python2.7/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[((sC/opt/alt/python27/lib64/python2.7/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[((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRs   cC s|iS(s9 Get the cap style for dashed linestyles (R (R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_dash_capstylescC s|iS(s8 Get the cap style for solid linestyles (R"(R((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pytget_solid_capstylescC s |idjS(s return True if line is dashstyles--s-.R9(s--s-.R9(R(R((sC/opt/alt/python27/lib64/python2.7/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(((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/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((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRs  (RRRRRR(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyRs  (3Rt __future__RtnumpyRRt matplotlibRRRtcbookRRRRRR tcolorsR RR t transformsR R RRRRtrangeRRRRRRRRRRR2R3RR(RR1t lineMarkersR,tkwdoctkwdocdRtim_func(((sC/opt/alt/python27/lib64/python2.7/site-packages/matplotlib/lines.pyts6  ."$  )sO