Files
intellecton/venv/lib/python3.12/site-packages/matplotlib/__pycache__/lines.cpython-312.pyc
T

750 lines
68 KiB
Plaintext
Raw Normal View History

Ë
†Rj@âãóV—dZddlZddlmZmZmZddlZddlZddl Z
ddl m Z m
Z
mZmZddlmZmZddl
mZmZmZmZddlmZdd lmZdd
lmZmZmZdd l m!Z!m"Z"dd l m#Z#dd
lm$Z$m%Z%m&Z&m'Z'm(Z(m)Z)m*Z*m+Z+m,Z,m-Z-m.Z.m/Z/ej`e1«Z2d„Z3d„Z4d„Z5d„Z6d„Z7d„Z8ejre jtdgdgdgdgdgdgdgdgdgdgdœ
«Gd„d e«««Z;Gd!„d"e;«Z<Gd#„d$«Z=e;j|Z?ej0Z@e;j‚ZAej„ZCy)%zK
2D lines with support for a variety of line styles, markers, colors, etc.
éN)ÚIntegralÚNumberÚRealé)Ú_apiÚcbookÚcolorsÚ
_docstring)ÚArtistÚallow_rasterization)Ú_to_unmasked_float_arrayÚ ls_mapperÚ ls_mapper_rÚSTEP_LOOKUP_MAP)Ú MarkerStyle)ÚPath)ÚBboxÚBboxTransformToÚTransformedPath)Ú JoinStyleÚCapStyle)Ú_path) Ú CARETLEFTÚ
CARETRIGHTÚCARETUPÚ CARETDOWNÚ
CARETLEFTBASEÚCARETRIGHTBASEÚ CARETUPBASEÚ
CARETDOWNBASEÚTICKLEFTÚ TICKRIGHTÚTICKUPÚTICKDOWNcóD—t|t«rtj||«}|dvrd}d}nZ|dvr#d}t t
j d|›d�«}n3t|t«r|\}}|€td|›�«‚td|›�«‚|�t|«}|r||z}||fS)z"Convert linestyle to dash pattern.)ÚsolidÚNonerN)ÚdashedÚdashdotÚdottedúlines.Ú_patternzUnrecognized linestyle: ) Ú
isinstanceÚstrrÚgetÚtupleÚmplÚrcParamsÚ
ValueErrorÚsum)ÚstyleÚoffsetÚdashesÚdsums úS/home/antigravity/intellecton/venv/lib/python3.12/site-packages/matplotlib/lines.pyÚ_get_dash_patternr:!sÀ€ô�%œÔÜ—
‘
˜e UÓ+ˆà Ð!Ñ!؈؉à Ð1Ñ 1؈ܔs—|‘| f¨U¨G°8Ð$<Ñ=Ó>‰ä �Eœ5Ô !؉ˆ�Ø ˆ>ÜÐ7¸°yÐAÓBÐ BäÐ3°E°9Ð=Ó>Ð>ðÐÜ�6‹{ˆÙ Ø �d‰NˆFà �6ˆ>ÐócóÄ— t|«g}|S#t$rF |D�cgc]
}t|«‘Œncc}w}}Y|S#t$r}d|›d�}t|«|‚d}~wwxYwwxYw)zEConvert linestyle or sequence of linestyles to list of dash patterns.zDo not know how to convert z
to dashesN)r:r3)ÚstylesÚpatternsÚxÚerrÚemsgs r9Ú_get_dash_patternsrB?s�€ð,Ü% fÓ-Ð.ˆð €Oøô ò,ð ,Ø6<Ö=°Ô)¨!Õ,Ñ=ùÒ=ˆHÑ=ð
€Oøô ò ,Ø0°°
¸*ÐEˆDܘTÓ"¨Ð +ûð ,úð,ús,‚ � Aš;ž1°;» AÁAÁAÁAcó0—|dd|ddz}||dz}||fS)zCReturn the inverse of the given dash pattern, for filling the gaps.éÿÿÿÿN©)r6r7ÚgapsÚ offset_gapss r9Ú_get_inverse_dash_patternrHMs5€ð �"�#ˆ;˜  ˜Ñ $€Dð˜6 "™:Ñ%€Kà ˜Ð Ðr;có‚—tjds||fS||z}|�|D�cgc] }|�||znd‘Œ
c}nd}||fScc}w)Nzlines.scale_dashes)r1r2)r6r7ÚlwÚ
scaled_offsetr?Ú
scaled_dashess r9Ú
_scale_dashesrMYs`€Ü �<‰<Ð,Ò -Ø�vˆ~ÐØ˜R‘K€MàÐ*ðBHÖH¸A  
�a˜"’f°4Ñ7ÓHØ04ðà ˜-Ð 'Ð'ùòIs£<cóT—t|«dkr.tj||z
dz||z
dzz|dzk«\}|S|dd|dd}}|dd|z
|dd|z
} }|dz| dzz}
||z
|z||z
| zz|
z } | dk\| dkz} ||z
dz||z
dzz|dzk}
| |
dd|
ddzz} || |zz|| | zz}}||z
dz||z
dzz|dzk}|| z}|
j«j«\}|j«j«\}tj||f«S)z›
Return the indices of the segments in the polyline with coordinates (*cx*,
*cy*) that are within a distance *radius* of the point (*x*, *y*).
réNrDr)ÚlenÚnpÚnonzeroÚravelÚ concatenate)ÚcxÚcyr?ÚyÚradiusÚresÚxrÚyrÚdxÚdyÚLnorm_sqÚuÚ
candidatesÚ
point_hitsÚpxÚpyÚ line_hitsÚpointsÚliness r9Ú segment_hitsrgbs‰€ô  ˆ1ƒv�‚{Ü�z‰z˜2 ™6 a™-¨2°©6°a©-Ñ7¸6ÀQ¹;ÑFÓG‰ˆØˆ
ðˆs�ˆV�Q�s˜�Vˆ€BðˆqˆrˆU�R‰Z˜˜1˜2˜ ™ˆ€BØ�Q‰w˜˜q™Ñ €HØ
ˆr‰'�R‰˜2 ™7 b™.Ñ (¨HÑ4€AØ�q‘&˜Q !™VÑ$€Jð �q‘&˜Q‘ " q¡&¨Q¡Ñ.°&¸A±+Ñ=€JØ 
¨3¨B °*¸Q¸R°.Ñ @ÐAÑA€Jð�!�b‘&‰[˜"˜q 2™v™+ˆ€BØ�b‘˜Q‘ " r¡'¨a¡Ñ/°6¸Q±;Ñ>€IؘJÑ&€IØ×ÑÓ ×(Ñ(Ó*�G€FØ
�_‰_Ó
×
&Ñ
&Ó
(�F€EÜ
�>‰>˜6 5˜/Ó *Ð*r;c ón—|j|j}}d„}t|t«rd|f}nt|t«rd|f}t|t
«�rYt
|«dk7rtd|›�«‚|\}}t|t«rJt|t«std|›�«‚t|t|d|«||t|d|«««St|t«�r¾t|t«std|›�«‚|€ td «‚tj|«jd
¬ «} || }
|j|
«} tjt
| «df«} d| ddd…f<| d
d…dd…f| dd …dd…fz
| d
d…dd…f<tj| j Žj#«} |j$jddgd
d
gg«\\}
}\}}tj||
z
||z
«}tj&||z| d ||z«}tj(| tj*dd…f|dd…tj*fz
«}|j-d
¬ «}tj.|«}t|
||||««Std
|›d�«‚t|t«rt|||||««Stj0|«r t|||||««Std
|›d�«‚#tt2f$r}td
|›d�«|‚d}~wwxYw)zà
Helper function that sorts out how to deal the input
`markevery` and returns the points where markers should be drawn.
Takes in the `markevery` value and the line path and returns the
sub-sampled path.
có—|€y||S)z@Helper function to cope with `codes` being an ndarray or `None`.NrE)Úin_vÚslcs r9Ú_slice_or_nonez(_mark_every_path.<locals>._slice_or_none’s€à ˆ<ØØ�C‰yÐr;rgrOz7`markevery` is a tuple but its len is not 2; markevery=zo`markevery` is a tuple with len 2 and second element is an int, but the first element is not an int; markevery=Nz{`markevery` is a tuple with len 2 and second element is a float, but the first element is not a float or an int; markevery=z]markevery is specified relative to the Axes size, but the line does not have a Axes as parentr)ÚaxisrDz
markevery=zG is a tuple with len 2, but its second element is not an int or a floatz. is iterable but not a valid numpy fancy indexz is not a recognized value)ÚcodesÚverticesr-rrr0rPr3rÚslicerQÚisfiniteÚallÚ transformÚemptyÚhypotÚTÚcumsumÚ transAxesÚarangeÚabsÚnewaxisÚargminÚuniqueÚiterableÚ
IndexError)Ú markeveryÚtpathÚaffineÚaxrnÚvertsrlÚstartÚstepÚfinÚfvertsÚ disp_coordsÚdeltaÚx0Úy0Úx1Úy1ÚscaleÚ marker_deltaÚindsr@s r9Ú_mark_every_pathr’‡sV€ð—;‘; §¡ˆ5€Eòô�)œXÔ&ؘ �N‰ ä �IœtÔ $ؘ)Ð$ˆ ä�)œUÕ#Ü ˆy‹>˜QÒ Üð*Ø*3¨ð6ó7ð
7à‰ ˆˆtä �dœHÔ %ä˜e¤XÔ.Ü ð!à!*  ð-ó.ð.ô ˜œe E¨4°Ó6Ñ7Ù& u¬e°E¸4ÀÓ.FÓGóIð
Iô˜œdÕ
#ܘe¤TÔ*Ü ð!à!*  ð-ó.ð.ðˆzÜ ð>ó?ð?ô
—+‘+˜eÓ$×(Ñ(¨aÐ(Ó0ˆCؘ3‘ZˆFØ ×*Ñ*¨6Ó2ˆKä—H‘Hœc +Ó.°Ð2Ó3ˆE؈E�!’Q�$‰KØ& q¡rª1 uÑ-° ¸C¸R¸C¸FÑ0CÑCˆE�!‘"’a�%‰LÜ—H‘H˜eŸg™gÐ&×-Ñ-Ó/ˆEð"$§¡×!7Ñ!7¸!¸Q¸À!ÀQÀÐ8HÓ!IÑ ‰HˆR�‘h�r˜2Ü—H‘H˜R "™W b¨2¡gÓ.ˆEÜŸ9™9 U¨U¡]°E¸"±I¸tÀe¹|ÓLˆLô—6‘6˜%¤§
¡
ªA 
Ñ.°ºaÄÇÁ¸mÑ1LÑLÓMˆDØ—;‘; A�;Ó&ˆDÜ—9‘9˜T“?ˆD䘘t™ ¡n°U¸DÓ&AÓBÐ BäØ˜Y˜Mð*:ð;ó<ð
<ô
�IœuÔ %ä�E˜)Ñ$¡n°U¸IÓ&FÓGÐGä �‰�YÔ ð )ܘ˜iÑ(©.¸À Ó*JÓKÐ Kô ˜: i ]Ð2LÐMÓNÐNøô œJÐ'ò )ÜØ˜Y˜Mð*ðó à%(ð
)ûð )úsË+LÌL4ÌL/Ì/L4ÚaaÚcÚdsÚlsrJÚmecÚmewÚmfcÚmfcaltÚms)
Ú antialiasedÚcolorÚ drawstyleÚ linestyleÚ linewidthÚmarkeredgecolorÚmarkeredgewidthÚmarkerfacecolorÚmarkerfacecoloraltÚ
markersizecó‡—eZdZdZddddddddœxZZdd d
d d œZd
d
iZie¥e¥Zge¢e¢Z e
jZ e
jZ e
jZdZdZd„Zddddddddddddddddddddœˆfd„
Zd„Zd„Zd„Zeee«Zd„Zd„Zd„Zd„Zd„Zd„ZdSd„Zd „Zd!„Z dTd"„Z!dSd#„Z"d$„Z#ˆfd%„Z$e%d&„«Z&d'„Z'd(„Z(d)„Z)d*„Z*d+„Z+d,„Z,d-„Z-d.„Z.d/„Z/dTd0„Z0d1„Z1d2„Z2d3„Z3dUd4„Z4dUd5„Z5dUd6„Z6d7„Z7d8„Z8d9„Z9d:„Z:d;„Z;d<„Z<d=„Z=d>„Z>e?j€d?„«ZAd@„ZBdA„ZCdB„ZDdC„ZEdD„ZFdE„ZGdF„ZHdG„ZIdH„ZJˆfdI„ZKe?j€dJ„«ZLe?j€dK„«ZMdL„ZNdM„ZOe?j€dN„«ZPe?j€dO„«ZQdP„ZRdQ„ZSdR„ZTˆxZUS)VÚLine2Da
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, e.g., one
can create "stepped" lines in various styles.
Ú _draw_solidÚ _draw_dashedÚ_draw_dash_dotÚ _draw_dottedÚ
_draw_nothing)ú-ú--ú-.ú:r'ú ÚÚ _draw_linesÚ_draw_steps_midÚ_draw_steps_preÚ_draw_steps_post)Údefaultz steps-midz steps-prez
steps-postÚstepsrOièc óÌ—|jdk7rd|j›d�S|j€yt|j«dkDrddj|jd|jd|jd|jd|jd |jd «Sd
d j t
d j|j|j««zS)
Nr²zLine2D(ú)zLine2D()éz/Line2D(({:g},{:g}),({:g},{:g}),...,({:g},{:g}))rrrDz
Line2D(%s)ú,z ({:g},{:g}))Ú_labelÚ_xrPÚformatÚ_yÚjoinÚmap©Úselfs r9Ú__str__zLine2D.__str__sÃ€Ø �;‰;˜"Ò Ø˜TŸ[™[˜M¨Ð+Ð +Ø
�W‰Wˆ_ØÜ
�—‘‹\˜AÒ
ØD×KÑKØ—‘˜‘
˜DŸG™G A™JØ—‘˜‘
˜DŸG™G A™JØ—‘˜‘ ˜TŸW™W R™[ó*ð
*ð
  #§(¡(Ü�M×(Ñ(¨$¯'©'°4·7±7Ó;ó#=ñ=ð
=r;NÚnoneé)r rŸr�ÚgapcolorÚmarkerr¥r¢r¡r£r¤Ú fillstylerœÚ
dash_capstyleÚsolid_capstyleÚdash_joinstyleÚsolid_joinstyleÚ
pickradiusržr€c ó–•—t‰|�«tj|«s t d«‚tj|«s t d«‚|€t
j d}|€t
j d}|€t
j d}|€t
j d}|€t
j d}|€t
j d }|€t
j d
}|€t
j d }|€t
j d }|€t
j d
}|€d}d|_d|_d|_ d|_
|j|«|j|«|j|«|j|«d|_d|_||_d|_d|_|j)|«|j+|«|j-|«d|_|j1|«|€d}t3|t4«st5||
«|_n||_d|_|j;|«d|_d|_d|_ |jC|«|jE|«|jG|«d|_$d|_%d|_&d|_'|jQ| «|jS| «|jU|
«|jW| «|jY|«||_-d|_.t3|j^t`«r+t3|j^tb«s|j^|_2tjfg«|_4tjfg«|_5d|_6d|_7d|_8d|_9d|_:d|_;d|_<d|_=d|_>|j||«y)a–
Create a `.Line2D` instance with *x* and *y* data in sequences of
*xdata*, *ydata*.
Additional keyword arguments are `.Line2D` properties:
%(Line2D:kwdoc)s
See :meth:`set_linestyle` for a description of the line styles,
:meth:`set_marker` for a description of the markers, and
:meth:`set_drawstyle` for a description of the draw styles.
zxdata must be a sequencezydata must be a sequenceNzlines.linewidthzlines.linestylez lines.markerz lines.colorzlines.markersizezlines.antialiasedzlines.dash_capstylezlines.dash_joinstylezlines.solid_capstylezlines.solid_joinstyler·)rNrÆrTF)@ÚsuperÚ__init__rQr~Ú RuntimeErrorr1r2Ú
_dashcapstyleÚ_dashjoinstyleÚ_solidjoinstyleÚ_solidcapstyleÚset_dash_capstyleÚset_dash_joinstyleÚset_solid_capstyleÚset_solid_joinstyleÚ _linestylesÚ
_drawstyleÚ
_linewidthÚ_unscaled_dash_patternÚ
_dash_patternÚ
set_linewidthÚ
set_linestyleÚ
set_drawstyleÚ_colorÚ set_colorr-rÚ_markerÚ _gapcolorÚ set_gapcolorÚ
_markeveryÚ _markersizeÚ _antialiasedÚ
set_markeveryÚset_antialiasedÚset_markersizeÚ_markeredgecolorÚ_markeredgewidthÚ_markerfacecolorÚ_markerfacecoloraltÚset_markerfacecolorÚset_markerfacecoloraltÚset_markeredgecolorÚset_markeredgewidthÚ_internal_updaterÏÚ
ind_offsetÚ_pickerrÚboolÚ _pickradiusÚasarrayÚ_xorigÚ_yorigÚ _invalidxÚ _invalidyr¾rÀÚ_xyrÚ_transformed_pathÚ _subsliceÚ _x_filledÚset_data)rÄÚxdataÚydatar rŸr�rÈrÉr¥r¢r¡r£r¤rÊrœrËrÌrÍrÎrÏržr€ÚkwargsÚ __class__s €r9rÒzLine2D.__init__-saø€ôF ‰ÑÔô�{‰{˜5Ô!ÜÐ9Ó:Ð :Ü�{‰{˜5Ô!ÜÐ9Ó:Ð :à Ð ÜŸ ™ Ð%6Ñ7ˆIà Ð ÜŸ ™ Ð%6Ñ7ˆIØ ˆ>Ü—\‘\ .Ñ1ˆFØ ˆ=Ü—L‘L Ñ/ˆEà Ð ÜŸ™Ð&8Ñ9ˆJØ Ð ÜŸ,™,Ð':Ñ;ˆKØ Ð ÜŸL™LÐ)>Ñ?ˆMØ Ð !Ü Ÿ\™\Ð*@ÑAˆNØ Ð !Ü Ÿ\™\Ð*@ÑAˆNØ Ð "Ü!Ÿl™lÐ+BÑCˆOà Ð Ø!ˆIà!ˆÔØ"ˆÔØ#ˆÔØ"ˆÔØ ×ј}Ô-Ø ×Ñ Ô/Ø ×Ñ Ô/Ø × Ñ  Ô1àˆÔ؈ŒØ#ˆŒØ&/ˆÔ#Ø&ˆÔà ×ј9Ô%Ø ×ј9Ô%Ø ×ј9Ô%àˆŒ Ø �‰�uÔØ ˆ>؈Fܘ&¤+Ô.Ü& v¨yÓ9ˆD�Là!ˆDŒLàˆŒØ ×ј(Ô#àˆŒØˆÔØ ˆÔà ×ј9Ô%Ø ×ј[Ô)Ø ×јJÔ'à $ˆÔØ $ˆÔØ $ˆÔØ#'ˆÔ à × Ñ  Ô1Ø ×#Ñ#Ð$6Ô7Ø × Ñ  Ô1Ø × Ñ  Ô1ð
×јfÔ%Ø$ˆŒØˆŒÜ �t—|‘|¤VÔ ,ܘtŸ|™|¬TÔ2Ø#Ÿ|™|ˆDÔ ä—j‘j “nˆŒ Ü—j‘j “nˆŒ ؈ŒØˆŒØˆŒØˆŒØˆŒØˆŒ
Ø!%ˆÔ؈ŒØˆŒà �
‰
�e˜UÕ#r;cóÈ—|j|«rdifS|js |jr|j«t |j
«dk(rdifS|j
«}|j«\}}|j|«}|j}|dd…df}|dd…df}|jd¬«}|€"tjd«|j} n|jdz |jz} tj d ¬
«5|j"d vrAtj$||j&z
d z||j(z
d zz| d zk«\}
nCt+|j&|j(||| «}
|j,j/d
«r|
d z}
ddd«
|j0z
}
t |
«dkDt3|
¬«fS#1swYŒ2xYw)a 
Test whether *mouseevent* occurred on the line.
An event is deemed to have occurred "on" the line if it is less
than ``self.pickradius`` (default: 5 points) away from it. Use
`~.Line2D.get_pickradius` or `~.Line2D.set_pickradius` to get or set
the pick radius.
Parameters
----------
mouseevent : `~matplotlib.backend_bases.MouseEvent`
Returns
-------
contains : bool
Whether any values are within the radius.
details : dict
A dictionary ``{'ind': pointlist}``, where *pointlist* is a
list of points of the line that are within the pickradius around
the event position.
TODO: sort returned indices by distance
FrNrT©Úrootz,no figure set when check if mouse is on lineçR@Úignore)rr)r'NrOr¸)Úind)Ú_different_canvasrrÿÚrecacherPrÚ_get_transformed_pathÚget_transformed_path_and_affineÚtransform_pathroÚ
get_figureÚ_logÚwarningrûÚdpirQÚerrstateÚ
_linestylerRr?rWrgrÝÚ
startswithrøÚdict) rÄÚ
mouseeventÚtransformed_pathÚpathr‚ÚxyÚxtÚytÚfigÚpixelsrs r9ÚcontainszLine2D.containsºsº€ð0 × !Ñ ! *Ô -ؘ"�9Ð ð �>Š>˜TŸ^š^Ø �L‰LŒNÜ ˆt�x‰x‹=˜AÒ Ø˜"�9Ð ð ×5Ñ5Ó7ÐØ'×GÑGÓI‰ ˆˆfØ×$Ñ$ TÓ*ˆØ
�]‰]ˆØ
’�1�‰XˆØ
’�1�‰Xˆð�o‰o 4ˆoÓ(ˆØ ˆ;Ü �L‰LÐGÔ HØ×%Ñ%‰Fà—W‘W˜s‘] T×%5Ñ%5Ñ5ˆFô
�[‰[˜XÔ
&ñ à�‰ .Ñ0ä—z‘zؘ*Ÿ,™,Ñ&¨1Ñ,°°Z·\±\Ñ0AÀaÑ/GÑGØ ‘{ñ#ó$‘‘ô
# :§<¡<°·±¸rÀ2ÀvÓN�Ø—?‘?×-Ñ-¨gÔ6ؘA‘I�C÷ ð ˆt�‰Ñˆô�3‹x˜!‰|œT cœ]Ð*Ð*÷! ð ús
ÄBGÇG!có—|jS)zo
Return the pick radius used for containment tests.
See `.contains` for more details.
)rûrÃs r9Úget_pickradiuszLine2D.get_pickradiusó€ð ×ÑÐr;cóR—t|t«r|dkr td«‚||_y)zÒ
Set the pick radius used for containment tests.
See `.contains` for more details.
Parameters
----------
pickradius : float
Pick radius, in points.
rz pick radius should be a distanceN)r-rr3rû)rÄrÏs r9Úset_pickradiuszLine2D.set_pickradiuss(€ô˜*¤dÔ+¨z¸Aª~ÜÐ?Ó@Ð @Ø%ˆÕr;có6—|jj«S)z[
Return the marker fill style.
See also `~.Line2D.set_fillstyle`.
)ræÚ
get_fillstylerÃs r9r,zLine2D.get_fillstyles€ð �|‰|×)Ñ)Ó+Ð+r;cóx—|jt|jj«|««d|_y)a%
Set the marker fill style.
Parameters
----------
fs : {'full', 'left', 'right', 'bottom', 'top', 'none'}
Possible values:
- 'full': Fill the whole marker with the *markerfacecolor*.
- 'left', 'right', 'bottom', 'top': Fill the marker half at
the given side with the *markerfacecolor*. The other
half of the marker is filled with *markerfacecoloralt*.
- 'none': No filling.
For examples see :ref:`marker_fill_styles`.
TN)Ú
set_markerrræÚ
get_markerÚstale)rÄÚfss r9Ú
set_fillstylezLine2D.set_fillstyle!s+€ð"
�‰œ  D§L¡L×$;Ñ$;Ó$=¸rÓBÔC؈�
r;có —||_d|_y)af
Set the markevery property to subsample the plot when using markers.
e.g., if ``every=5``, every 5-th marker will be plotted.
Parameters
----------
every : None or int or (int, int) or slice or list[int] or float or (float, float) or list[bool]
Which markers to plot.
- ``every=None``: every point will be plotted.
- ``every=N``: every N-th marker will be plotted starting with
marker 0.
- ``every=(start, N)``: every N-th marker, starting at index
*start*, will be plotted.
- ``every=slice(start, end, N)``: every N-th marker, starting at
index *start*, up to but not including index *end*, will be
plotted.
- ``every=[i, j, m, ...]``: only markers at the given indices
will be plotted.
- ``every=[True, False, True, ...]``: only positions that are True
will be plotted. The list must have the same length as the data
points.
- ``every=0.1``, (i.e. a float): markers will be spaced at
approximately equal visual distances along the line; the distance
along the line between markers is determined by multiplying the
display-coordinate distance of the Axes bounding-box diagonal
by the value of *every*.
- ``every=(0.5, 0.1)`` (i.e. a length-2 tuple of float): similar
to ``every=0.1`` but the first marker will be offset along the
line by 0.5 multiplied by the
display-coordinate-diagonal-distance along the line.
For examples see
:doc:`/gallery/lines_bars_and_markers/markevery_demo`.
Notes
-----
Setting *markevery* will still only draw markers at actual data points.
While the float argument form aims for uniform visual spacing, it has
to coerce from the ideal spacing to the nearest available data point.
Depending on the number and distribution of data points, the result
may still not look evenly spaced.
When using a start offset to specify the first marker, the offset will
be from the first data point which may be different from the first
the visible data point if the plot is zoomed in.
If zooming in on a plot when using float arguments then the actual
data points that have markers will change because the distance between
markers is always determined from the display-coordinates
axes-bounding-box-diagonal regardless of the actual axes data limits.
TN)rér0)rÄÚeverys r9rìzLine2D.set_markevery5s€ðp ˆŒØˆ�
r;có—|jS)zr
Return the markevery setting for marker subsampling.
See also `~.Line2D.set_markevery`.
)rérÃs r9Ú
get_markeveryzLine2D.get_markeverypó€ð �‰Ðr;cóJ—t|«s|j|«||_y)zæ
Set the event picker details for the line.
Parameters
----------
p : float or callable[[Artist, Event], tuple[bool, dict]]
If a float, it is used as the pick radius in points.
N)Úcallabler*rù)rÄÚps r9Ú
set_pickerzLine2D.set_pickerxs €ô˜Œ{Ø × Ñ  Ô "؈� r;cóf—tddgddgg«}|j|j««|S)z"Get the bounding box of this line.r)rÚupdate_from_data_xyÚ
get_xydata)rÄÚbboxs r9Úget_bboxzLine2D.get_bbox…s3€ä�a˜�V˜a ˜VÐ$Ó%ˆØ × Ñ  §¡Ó!2Ô3؈ r;cóB—tddgddgg«}|j«j}|j||j ««d¬«|j
r@|j dz |jd¬«jzdz}|j|«}|S)NrT)rr
r gà?)
rÚ
get_transformrsr=r>rærêrrÚpadded)rÄÚrendererr?Útrans_data_to_xyr›s r9Úget_window_extentzLine2D.get_window_extent‹s™€Ü�a˜�V˜a ˜VÐ$Ó%ˆØ×-Ñ-Ó/×9Ñ9ÐØ × Ñ Ñ!1°$·/±/Ó2CÓ!DØ(,ð !ô .ð �<Š<Ø×"Ñ" TÑ)¨D¯O©OÀ¨OÓ,F×,JÑ,JÑJÈcÑQˆBØ—;‘;˜r“?ˆD؈ r;có~—t|«dk(r|\\}}n|\}}|j|«|j|«y)zÃ
Set the x and y data.
Parameters
----------
*args : (2, N) array or two 1D arrays
See Also
--------
set_xdata
set_ydata
rN)rPÚ set_xdataÚ set_ydata)rÄÚargsr?rWs r9rzLine2D.set_data–s;€ô ˆt‹9˜Š>؉G‰FˆQ‘à‰DˆAˆqà �‰�qÔØ �‰�qÕr;có(—|jd¬«y)NT)Úalways)rrÃs r9Úrecache_alwayszLine2D.recache_always«s€Ø � ‰ ˜Dˆ Õ!r;có—|s |jr5|j|j«}t|«j «}n |j
}|s |j r5|j|j«}t|«j «}n |j}tjtj||««jt«|_|jj \|_|_ d|_|j$�r]t'|«|j(kD�rDt+j,|«�r.|j$j.dk(�r|j$j1«dk(r÷|j2€ë|j5«rÛ|j7«|j$j8k(r´d|_tj:|«}|j=«rw|j
j?«|_ tjBt'|««}tjD|||||j
|«|j@|<n|j
|_ |j*�|j*jF}nd}tI|jJ|jj Ž} tMtjN| «j |¬«|_d|_(d|_d|_y)NFÚ rectilinearÚlinearTr©Ú_interpolation_steps))rÿÚconvert_xunitsrýr
rSr¾rÚconvert_yunitsrþrÀrQÚ column_stackÚbroadcast_arraysÚastypeÚfloatrrvrÚaxesrPÚ_subslice_optim_min_sizerÚis_sorted_and_has_non_nanÚnameÚ
get_xscaleréÚ get_clip_onrBÚ transDataÚisnanÚanyÚcopyrryÚinterprRrrÝrrür)
rÄrLÚxconvr?ÚyconvrWÚnanmaskÚindicesÚinterpolation_stepsr s
r9rzLine2D.recache®s*€Ù �T—^’^Ø×'Ñ'¨¯ © Ó4ˆEÜ(¨Ó/×5Ñ5Ó7‰Aà—‘ˆAÙ �T—^’^Ø×'Ñ'¨¯ © Ó4ˆEÜ(¨Ó/×5Ñ5Ó7‰Aà—‘ˆAä—?‘?¤2×#6Ñ#6°q¸!Ó#<Ó=×DÑDÄUÓKˆŒØŸ8™8Ÿ:™:шŒ�”àˆŒØ �I‹Iܘ“F˜T×:Ñ:Ó:Ü×3Ñ3°AÕ6Ø—I‘I—N‘N mÓ3Ø—I‘I×(Ñ(Ó*¨hÒ6Ø—O‘OÐ+Ø×$Ñ$Ô&Ø×&Ñ&Ó(¨D¯I©I×,?Ñ,?Ò?Ø!ˆDŒNÜ—h‘h˜q“kˆGØ�{‰{Œ}Ø!%§¡§¡£�”ÜŸ)™)¤C¨£FÓ+�Ü*,¯)©)ؘGÑ$ g¨w¨hÑ&7¸¿¹À'ÀÑ9Jó+L�—‘˜wÒ'ð"&§¡�”à �:‰:Ð !Ø"&§*¡*×"AÑ"AÑ à"#Ð Ü
˜TŸ_™_Ñ
-¨t¯x©x¯z©zÐ
:ˆÜœ"Ÿ*™* R›.×*Ñ*Ø/BôDˆŒ
à!%ˆÔ؈ŒØˆ�r;có<—|�ot|j|j|dd…fjŽ}t t j |«j|jj¬«}n |j}t||j««|_ y)z®
Put a TransformedPath instance at self._transformed_path;
all invalidation of the transform is then handled by the
TransformedPath instance.
NrQ) rrÝrrvrrQrürrRrrBr)rÄÚsubslicer rs r9Ú_transform_pathzLine2D._transform_pathÛs{€ð Ð Ü  §¡Ñ1°4·8±8¸HÂa¸KÑ3H×3JÑ3JÐKˆBÜœŸ™ B›×)Ñ)Ø.2¯j©j×.MÑ.MôO‰Eð—J‘JˆEÜ!0°¸×8JÑ8JÓ8LÓ!MˆÕr;cóR—|j€|j«|jS)z<Return this line's `~matplotlib.transforms.TransformedPath`.)rrkrÃs r9rzLine2D._get_transformed_pathês&€à × !Ñ !Ð )Ø × Ñ Ô "Ø×%Ñ%Ð%r;có@•—d|_d|_t‰|�
|«y)NT)rÿrrÑÚ
set_transform)rÄÚtr s €r9rnzLine2D.set_transformðsø€àˆŒØˆŒÜ
‰Ñ˜aÕ r;cóŒ—|j«sy|js |jr|j«d|_|j
r |j r”|j j«\}}|jj|d«}|jj|d«}tt|dz
d«|dz«}|j|_|j|«nd}|j«rddlm}||j«|«}|j#d|j%««|j&|j(dk7�r„|j+«j-«\}} t/|j0«�rM|j3«}
|j5|
«|
j7|j9««|
j;|j<«|
j?|j@«|jC«r|jD} |jF} n|jH} |jJ} |
jM| «|
jO| «|
jQ|jS««|jU«�|
jV|jU«Ž|jC«r‘|jX�…t[j\|jX|j^«}
|
ja|
d¬ «tc|jdŽ\}}|
jg||«|ji|
|| jk««t[j\|jl|j^«}
|
ja|
d¬ «|
jf|jdŽ|ji|
|| jk««|
jo«|jp�r6|jrdkD�r&|j3«}
|j5|
«|
j7|j9««|
j?|jt«|
j;|j<«t[j\|jw«|j^«}t[j\|jy«|j^«}t[j\|jyd¬
«|j^«}t{j||j~d «r0t{j€|jƒ«d «s |dd
|d
fz}|
ja|d¬ «|jU«�0|jU«\}}}|
jW|dz |dz d|z«|jp}|j…«dk7rdt{j†|dd¬«5|j«|j|«|j+«j‰«\}} ddd«n!|j+«j‰«\}} t/j0«�r·|j‹«}|�t�|| |j «}n|}|j�«}t‘|t’«r|j•|jr«|k\}|
jQ|«|
jM|j—««|
jO|j™««|j›«}|j�«}|j•|jr«}t{j||jŸ«d«r|
j?d«n|j¡|«}|j£|
||| jk«|«|j¥«}|rE|j§«}|j¡|«}|j£|
|||| jk«|«|
jo«|j©d«d|_Uy#1swY�ŒxYw)NrÚleftÚrightr)ÚPathEffectRendererÚline2dr¬T)ÚisRGBA©ÚaltÚautorÆr»rOr·)rÝrr¼F)VÚ get_visiblerrÿrrørrYÚ
get_xboundrÚ searchsortedrpÚmaxr…rkÚget_path_effectsÚmatplotlib.patheffectsrsÚ
open_groupÚget_gidÚ _lineStylesrrrrProÚnew_gcÚ _set_gc_clipÚset_urlÚget_urlrírërárÞÚ is_dashedrÔrÕr×rÖÚ
set_joinstyleÚ set_capstyleÚset_snapÚget_snapÚget_sketch_paramsÚset_sketch_paramsrçÚmcolorsÚto_rgbaÚ_alphaÚset_foregroundrHràÚ
set_dashesÚ draw_pathÚfrozenräÚrestorerærêrðÚget_markeredgecolorÚ_get_markerfacecolorrÚ
_str_equalrïÚ_str_lower_equalÚget_markerfacecolorÚ
get_drawstyleÚ _setattr_cmÚ!get_transformed_points_and_affiner6r’Úget_snap_thresholdr-rÚpoints_to_pixelsÚ
get_joinstyleÚ get_capstyleÚget_pathrBr/r�Ú draw_markersÚ get_alt_pathÚget_alt_transformÚ close_groupr0)rÄrDr‹r�Úi0Úi1rjrsr�r‚ÚgcÚcaprÁÚlc_rgbarGrFÚec_rgbaÚfc_rgbaÚ
fcalt_rgbar�ÚlengthÚ
randomnessrÉr€Ú
subsampledÚsnapÚ marker_pathÚ marker_transÚwÚalt_marker_pathÚalt_marker_transs r9Údrawz Line2D.drawös®€ð×ÑÔ!Ø à �>Š>˜TŸ^š^Ø �L‰LŒN؈ŒØ �>Š>˜dŸišiØ—Y‘Y×)Ñ)Ó+‰FˆB�Ø—‘×,Ñ,¨R°Ó8ˆBØ—‘×,Ñ,¨R°Ó9ˆBÜœS  a¡¨›^¨R°!©VÓ4ˆHØ&Ÿn™nˆDŒOØ × Ñ  Õ *àˆHà × Ñ Ô "Ý AÙ)¨$×*?Ñ*?Ó*AÀ8ÓLˆHà×јH d§l¡l£nÔ5Ø × Ñ ˜DŸO™OÑ ,°Ó ?Ø!×7Ñ7Ó9ß=Ñ=Ó?ñ
ˆE�6ä�5—>‘>Õ"Ø—_‘_Ó&�Ø×!Ñ! "Ô%Ø—
‘
˜4Ÿ<™<›>Ô*à×"Ñ" 4×#4Ñ#4Ô5Ø× Ñ  §¡Ô1à—>‘>Ô#Ø×,Ñ,�CØ×.Ñ.‘Dà×-Ñ-�CØ×/Ñ/�DØ× Ñ  Ô&Ø—‘ Ô$Ø— ‘ ˜DŸM™M›OÔ,Ø×)Ñ)Ó+Ð7Ø(�B×(Ñ(¨$×*@Ñ*@Ó*BÑCð—>‘>Ô#¨¯©Ð(BÜ%Ÿo™o¨d¯n©n¸d¿k¹kÓJ�GØ×%Ñ% g°dÐ%Ô;ä(AØ×+Ñ+ð)-Ñ%�K ð—M‘M +¨tÔ4Ø×&Ñ& r¨5°&·-±-³/ÔBä!Ÿ/™/¨$¯+©+°t·{±{ÓC�Ø×!Ñ! '°$Ð!Ô7à�—
‘
˜t×1Ñ1Ñ2Ø×"Ñ" 2 u¨f¯m©m«oÔ>Ø—
‘
” à �<‹<˜D×,Ñ,¨qÓ0Ø—‘Ó"ˆBØ × Ñ ˜bÔ !Ø �J‰J�t—|‘|“~Ô &Ø × Ñ ˜T×2Ñ2Ô 3Ø × Ñ ˜t×0Ñ0Ô 1ä—o‘oØ×(Ñ(Ó*¨D¯K©Kó9ˆGä—o‘oØ×)Ñ)Ó+¨T¯[©[ó:ˆGä Ÿ™Ø×)Ñ)¨dÐ)Ó3°T·[±[óBˆJô× Ñ  ×!6Ñ!6¸Ô?Ü!×2Ñ2Ø×0Ñ0Ó2°Fô<à! " 1˜+¨°©¨
Ñ5�Ø × Ñ ˜g¨dÐ Ô 3Ø×%Ñ%Ó'Ð3Ø,0×,BÑ,BÓ,DÑ)��v˜zØ×$Ñ$ U¨1¡W¨f°Q©h¸¸*¹ ÔEà—\‘\ˆFð×!Ñ!Ó# yÒ0Ü×&Ñ&بÀdôLñKà—L‘L”NØ×(Ñ(¨Ô2Ø%)×%?Ñ%?Ó%Aß&GÑ&GÓ&Iñ"�E˜6÷ KðKð"&×!;Ñ!;Ó!=ß"CÑ"CÓ"Eñ��vô�5—>‘>Õ"à ×.Ñ.Ó0� ØÐ(Ü!1Ø! 5¨&°$·)±)ó"=‘Jð"'�Jà×0Ñ0Ó2�ܘd¤DÔ)Ø#×4Ñ4°T×5EÑ5EÓFÈ$ÑN�DØ— ‘ ˜DÔ!Ø× Ñ  ×!5Ñ!5Ó!7Ô8Ø—‘ × 3Ñ 3Ó 5Ô6Ø$Ÿo™oÓ/� Ø%×3Ñ3Ó5� Ø×-Ñ-¨d×.>Ñ.>Ó?�ä×#Ñ# F×$5Ñ$5Ó$7¸Ô=Ø×$Ñ$ QÕ'ð$0×#5Ñ#5°aÓ#8�LØ×%Ñ% b¨+°|Ø&0°&·-±-³/Ø&-ô/ð#)×"5Ñ"5Ó"7�Ù"Ø'-×'?Ñ'?Ó'AÐ$Ø'7×'=Ñ'=¸aÓ'@Ð$Ø×)Ñ)Ø Ð1AÀ:Ø"ŸM™M›O¨Zô9ð
�J‰JŒLà×јXÔ&؈�
÷cKñKús
×A`9à9acó—|jS)z-Return whether antialiased rendering is used.)rërÃs r9Úget_antialiasedzLine2D.get_antialiasedˆs€à× Ñ Ð r;có—|jS)zP
Return the line color.
See also `~.Line2D.set_color`.
)rärÃs r9Ú get_colorzLine2D.get_colorŒs€ð �{‰{Ðr;có—|jS)zS
Return the drawstyle.
See also `~.Line2D.set_drawstyle`.
)rÝrÃs r9ršzLine2D.get_drawstyle”r7r;có—|jS)zV
Return the line gapcolor.
See also `~.Line2D.set_gapcolor`.
)rçrÃs r9Ú get_gapcolorzLine2D.get_gapcolorœs€ð �~‰~Ðr;có—|jS)zS
Return the linestyle.
See also `~.Line2D.set_linestyle`.
©rrÃs r9Ú
get_linestylezLine2D.get_linestyle¤r7r;có—|jS)z]
Return the linewidth in points.
See also `~.Line2D.set_linewidth`.
)rÞrÃs r9Ú
get_linewidthzLine2D.get_linewidth¬r7r;có6—|jj«S)zR
Return the line marker.
See also `~.Line2D.set_marker`.
)rær/rÃs r9r/zLine2D.get_marker´s€ð �|‰|×&Ñ&Ó(Ð(r;cóH—|j}tj|d«rtjdr`|j
j
«dvr |jS|j
j«r|j
j«dk7ry|jS|S)za
Return the marker edge color.
See also `~.Line2D.set_markeredgecolor`.
rxz_internal.classic_mode)ú.r¼rÆÚk)
rïrr—r1r2rær/räÚ is_filledr,)rÄr—s r9r•zLine2D.get_markeredgecolor¼s‚€ð ×#Ñ#ˆÜ × Ñ ˜C Ô (Ü�|‰|Ð4Ò5Ø—<‘<×*Ñ*Ó,°
Ñ:ØŸ;™;Ð&Ø—L‘L×*Ñ*Ô,Ø ŸL™L×6Ñ6Ó8¸FÒBØØ—;‘;Ð àˆJr;có—|jS)zk
Return the marker edge width in points.
See also `~.Line2D.set_markeredgewidth`.
)rðrÃs r9Úget_markeredgewidthzLine2D.get_markeredgewidthÎs€ð ×$Ñ$Ð$r;cóº—|jj«dk(ry|r |jn |j}t j
|d«r |j S|S)NrÆrx)rær,ròrñrr˜rä)rÄrwÚfcs r9r–zLine2D._get_markerfacecolorÖsN€Ø �<‰<× %Ñ %Ó '¨6Ò 1ØÙ),ˆT×
%Ò
%°$×2GÑ2GˆÜ × !Ñ ! " fÔ -Ø—;‘;Ð àˆIr;có&—|jd¬«S)za
Return the marker face color.
See also `~.Line2D.set_markerfacecolor`.
Frv©r–rÃs r9r™zLine2D.get_markerfacecolorßs€ð ×(Ñ(¨UÐ(Ó3Ð3r;có&—|jd¬«S)zn
Return the alternate marker face color.
See also `~.Line2D.set_markerfacecoloralt`.
TrvrÎrÃs r9Úget_markerfacecoloraltzLine2D.get_markerfacecoloraltçs€ð ×(Ñ(¨TÐ(Ó2Ð2r;có—|jS)z`
Return the marker size in points.
See also `~.Line2D.set_markersize`.
)rêrÃs r9Úget_markersizezLine2D.get_markersizeïr(r;cóJ—|j|¬«|j|¬«fS)z}
Return the line data as an ``(xdata, ydata)`` pair.
If *orig* is *True*, return the original data.
)Úorig)Ú get_xdataÚ get_ydata©rÄrÔs r9Úget_datazLine2D.get_data÷s%€ð �~‰~ 4ˆ~Ó(¨$¯.©.¸d¨.Ó*CÐCÐCr;cón—|r |jS|jr|j«|jS)z|
Return the xdata.
If *orig* is *True*, return the original data, else the
processed data.
)rýrÿrr¾r×s r9rÕzLine2D.get_xdataÿó*€ñ Ø—;‘;Ð Ø �>Š>Ø �L‰LŒNØ�w‰wˆr;cón—|r |jS|jr|j«|jS)z|
Return the ydata.
If *orig* is *True*, return the original data, else the
processed data.
)rþrrrÀr×s r9rÖzLine2D.get_ydata rÚr;cój—|js |jr|j«|jS)z=Return the `~matplotlib.path.Path` associated with this line.)rrÿrrrÃs r9r¡zLine2D.get_paths"€à �>Š>˜TŸ^š^Ø �L‰LŒNØ�z‰zÐr;cój—|js |jr|j«|jS)z'Return the *xy* data as a (N, 2) array.)rrÿrrrÃs r9r>zLine2D.get_xydatas!€à �>Š>˜TŸ^š^Ø �L‰LŒNØ�x‰xˆr;có>—|j|k7rd|_||_y)zs
Set whether to use antialiased rendering.
Parameters
----------
b : bool
TN)rër0)rÄÚbs r9rízLine2D.set_antialiased%s!€ð × Ñ  Ò !؈DŒJ؈Õr;cóL—tj|¬«||_d|_y)zt
Set the color of the line.
Parameters
----------
color : :mpltype:`color`
©r�TN)r�Ú_check_color_likerär0)rÄr�s r9råzLine2D.set_color1s €ô ×!Ñ!¨Õ.؈Œ ؈�
r;có–—|€d}tj|j|¬«|j|k7rd|_d|_||_y)a#
Set the drawstyle of the plot.
The drawstyle determines how the points are connected.
Parameters
----------
drawstyle : {'default', 'steps', 'steps-pre', 'steps-mid', 'steps-post'}, default: 'default'
For 'default', the points are connected with straight lines.
The steps variants connect the points with step-like lines,
i.e. horizontal lines with vertical steps. They differ in the
location of the step:
- 'steps-pre': The step is at the beginning of the line segment,
i.e. the line will be at the y-value of point to the right.
- 'steps-mid': The step is halfway between the points.
- 'steps-post: The step is at the end of the line segment,
i.e. the line will be at the y-value of the point to the left.
- 'steps' is equal to 'steps-pre' and is maintained for
backward-compatibility.
For examples see :doc:`/gallery/lines_bars_and_markers/step_demo`.
Nr·)ržT)rÚ
check_in_listÚ
drawStylesrÝr0rÿ)rÄržs r9rãzLine2D.set_drawstyle=sD€ð4 Ð Ø!ˆIÜ ×ј4Ÿ?™?°iÕ@Ø �?‰?˜iÒ '؈DŒJà!ˆDŒNØ#ˆ�r;cóP—|�tj|¬«||_d|_y)a
Set a color to fill the gaps in the dashed line style.
.. note::
Striped lines are created by drawing two interleaved dashed lines.
There can be overlaps between those two, which may result in
artifacts when using transparency.
This functionality is experimental and may change.
Parameters
----------
gapcolor : :mpltype:`color` or None
The color with which to fill the gaps. If None, the gaps are
unfilled.
NráT)r�rârçr0)rÄrÈs r9rèzLine2D.set_gapcolor`s&€ð$ Ð Ü × %Ñ %¨HÕ 5Ø!ˆŒØˆ�
r;cóŒ—t|«}|j|k7rd|_||_tg|j¢|‘­Ž|_y)z‹
Set the line width in points.
Parameters
----------
w : float
Line width, in points.
TN)rXrÞr0rMrßrà)rÄr´s r9rázLine2D.set_linewidthwsB€ô
�!‹HˆØ �?‰?˜aÒ ØˆDŒJ؈ŒÜ*ÐK¨D×,GÑ,GÐKÈÒKˆÕr;cóH—t|t«rN|dvrd}tjg|j¢t
¢|¬«||jvr t
|}||_nd|_t|«|_tg|j¢|j‘­Ž|_ d|_ y)a·
Set the linestyle of the line.
Parameters
----------
ls : {'-', '--', '-.', ':', '', (offset, on-off-seq), ...}
Possible values:
- A string:
========================================== =================
linestyle description
========================================== =================
``'-'`` or ``'solid'`` solid line
``'--'`` or ``'dashed'`` dashed line
``'-.'`` or ``'dashdot'`` dash-dotted line
``':'`` or ``'dotted'`` dotted line
``'none'``, ``'None'``, ``' '``, or ``''`` draw nothing
========================================== =================
- Alternatively a dash tuple of the following form can be
provided::
(offset, onoffseq)
where ``onoffseq`` is an even length tuple of on and off ink
in points. See also :meth:`set_dashes`.
For examples see :doc:`/gallery/lines_bars_and_markers/linestyles`.
)r±r²rÆr')r–r®TN)
r-r.rrär�rrr:rßrMrÞràr0)rÄr–s r9râzLine2D.set_linestyle†s�€ô> �bœ#Ô ØÐ&Ñ&Ø�Ü × Ñ Ð@ ×!1Ñ!1Ð@´KÐ@ÀRÕ Hؘ×)Ñ)Ñ)Ü  ‘_�Ø ˆD�Oà"ˆDŒOÜ&7¸Ó&;ˆÔ#Ü*ð;Ø
×
(Ñ
(ð;Ø*.¯/©/ò;ˆÔàˆ�
r;cód—t||jj««|_d|_y)zú
Set the line marker.
Parameters
----------
marker : marker style string, `~.path.Path` or `~.markers.MarkerStyle`
See `~matplotlib.markers` for full description of possible
arguments.
TN)rrær,r0)rÄrÉs r9r.zLine2D.set_marker³s&€ô# 6¨4¯<©<×+EÑ+EÓ+GÓHˆŒ ؈�
r;cóþ—|€|rtjd|›�nd}d|›�}t||«}|€d|_n9||k7}t |t
j «r|j«r
n|rd|_t|||«y)Nr+rxÚ_T) r1r2Úgetattrr0r-rQÚndarrayraÚsetattr)rÄr\Ú
has_rcdefaultÚvalÚattrÚcurrentÚneqs r9Ú_set_markercolorzLine2D._set_markercolorÁsv€Ø ˆ;Ù3@”#—,‘, ¨ v˜Ò/ÀfˆCØ�4�&ˆzˆÜ˜$ Ó%ˆØ ˆ?؈D�Jà˜S‘.ˆCä& s¬B¯J©JÔ7ˆs�w‰w�y¹SØ!�”
Ü��d˜CÕ r;có*—|jdd|«y)zq
Set the marker edge color.
Parameters
----------
ec : :mpltype:`color`
r¡TN©rô)rÄÚecs r9rõzLine2D.set_markeredgecolorÏó€ð
×ÑÐ/°°rÕ:r;có*—|jdd|«y)zq
Set the marker face color.
Parameters
----------
fc : :mpltype:`color`
r£TNrö©rÄrÌs r9rózLine2D.set_markerfacecolorÙrør;có*—|jdd|«y)z{
Set the alternate marker face color.
Parameters
----------
fc : :mpltype:`color`
r¤FNrörús r9rôzLine2D.set_markerfacecoloraltãs€ð
×ÑÐ2°E¸2Õ>r;cóh—|€tjd}|j|k7rd|_||_y)z›
Set the marker edge width in points.
Parameters
----------
ew : float
Marker edge width, in points.
Nzlines.markeredgewidthT)r1r2rðr0)rÄÚews r9rözLine2D.set_markeredgewidthís5€ð ˆ:Ü—‘Ð5Ñ6ˆBØ × Ñ  BÒ &؈DŒJØ "ˆÕr;cóT—t|«}|j|k7rd|_||_y)z�
Set the marker size in points.
Parameters
----------
sz : float
Marker size, in points.
TN)rXrêr0)rÄÚszs r9rîzLine2D.set_markersizeüs*€ô�2‹YˆØ × Ñ ˜rÒ !؈DŒJ؈Õr;có”—tj|«s td«‚tj|«|_d|_d|_y)z­
Set the data array for x.
Parameters
----------
x : 1D array
See Also
--------
set_data
set_ydata
zx must be a sequenceTN)rQr~rÓrbrýrÿr0)rÄr?s r9rHzLine2D.set_xdata
ó8€ô�{‰{˜1Œ~ÜÐ5Ó6Ð 6Ü—i‘i “lˆŒ ؈ŒØˆ�
r;có”—tj|«s td«‚tj|«|_d|_d|_y)z­
Set the data array for y.
Parameters
----------
y : 1D array
See Also
--------
set_data
set_xdata
zy must be a sequenceTN)rQr~rÓrbrþrr0)rÄrWs r9rIzLine2D.set_ydatarr;cót—|dk(st|«dk(r|jd«y|jd|f«y)a]
Set the dash sequence.
The dash sequence is a sequence of floats of even length describing
the length of dashes and spaces in points.
For example, (5, 2, 1, 2) describes a sequence of 5 point and 1 point
dashes separated by 2 point spaces.
See also `~.Line2D.set_gapcolor`, which allows those spaces to be
filled with a color.
Parameters
----------
seq : sequence of floats (on/off ink in points) or (None, None)
If *seq* is empty or ``(None, None)``, the linestyle will be set
to solid.
)NNrr­N)rPrâ)rÄÚseqs r9r‘zLine2D.set_dashes0s6€ð& �,Ò ¤# c£(¨a¢-Ø × Ñ ˜sÕ #à × Ñ   3˜xÕ (r;c󜕗t‰|�|«|j|_|j|_|j|_|j
|_|j |_|j|_|j|_|j|_ |j|_
|j|_ |j|_ |j|_
|j|_|j|_|j |_|j|_t#|j$¬«|_|j&|_y)z%Copy properties from *other* to self.)rÉN)rÑÚ update_fromrrÞrärçrêrñròrïrðrßràrÔrÕr×rÖrrærÝ)rÄÚotherr s €r9rzLine2D.update_fromHsø€ä
‰Ñ˜EÔ"Ø×*Ñ*ˆŒØ×*Ñ*ˆŒØ—l‘lˆŒ ØŸ™ˆŒØ ×,Ñ,ˆÔØ %× 6Ñ 6ˆÔØ#(×#<Ñ#<ˆÔ Ø %× 6Ñ 6ˆÔØ %× 6Ñ 6ˆÔØ&+×&BÑ&BˆÔ#Ø"×0Ñ0ˆÔØ"×0Ñ0ˆÔØ#×2Ñ2ˆÔØ#×2Ñ2ˆÔØ$×4Ñ4ˆÔà×*Ñ*ˆŒÜ"¨%¯-©-Ô8ˆŒ Ø×*Ñ*ˆ�r;cóT—t|«}|j|k7rd|_||_y)zÜ
How to join segments of the line if it `~Line2D.is_dashed`.
The default joinstyle is :rc:`lines.dash_joinstyle`.
Parameters
----------
s : `.JoinStyle` or %(JoinStyle)s
TN)rrÕr0©rÄÚsÚjss r9rÙzLine2D.set_dash_joinstyle_s*€ô�q‹\ˆØ × Ñ  "Ò $؈DŒJØ ˆÕr;cóT—t|«}|j|k7rd|_||_y)zæ
How to join segments if the line is solid (not `~Line2D.is_dashed`).
The default joinstyle is :rc:`lines.solid_joinstyle`.
Parameters
----------
s : `.JoinStyle` or %(JoinStyle)s
TN)rrÖr0r s r9rÛzLine2D.set_solid_joinstyleos*€ô�q‹\ˆØ × Ñ  2Ò %؈DŒJØ!ˆÕr;có.—|jjS)zl
Return the `.JoinStyle` for dashed lines.
See also `~.Line2D.set_dash_joinstyle`.
)rÕr\rÃs r9Úget_dash_joinstylezLine2D.get_dash_joinstyleó€ð ×"Ñ"×'Ñ'Ð'r;có.—|jjS)zl
Return the `.JoinStyle` for solid lines.
See also `~.Line2D.set_solid_joinstyle`.
)rÖr\rÃs r9Úget_solid_joinstylezLine2D.get_solid_joinstyle‡s€ð ×#Ñ#×(Ñ(Ð(r;cóT—t|«}|j|k7rd|_||_y)zÙ
How to draw the end caps if the line is `~Line2D.is_dashed`.
The default capstyle is :rc:`lines.dash_capstyle`.
Parameters
----------
s : `.CapStyle` or %(CapStyle)s
TN)rrÔr0©rÄr
Úcss r9rØzLine2D.set_dash_capstyle�s*€ô�a‹[ˆØ × Ñ  Ò #؈DŒJ؈Õr;cóT—t|«}|j|k7rd|_||_y)zå
How to draw the end caps if the line is solid (not `~Line2D.is_dashed`)
The default capstyle is :rc:`lines.solid_capstyle`.
Parameters
----------
s : `.CapStyle` or %(CapStyle)s
TN)rr×r0rs r9rÚzLine2D.set_solid_capstyleŸs*€ô�a‹[ˆØ × Ñ  "Ò $؈DŒJØ ˆÕr;có.—|jjS)zj
Return the `.CapStyle` for dashed lines.
See also `~.Line2D.set_dash_capstyle`.
)rÔr\rÃs r9Úget_dash_capstylezLine2D.get_dash_capstyle¯s€ð ×!Ñ!×&Ñ&Ð&r;có.—|jjS)zj
Return the `.CapStyle` for solid lines.
See also `~.Line2D.set_solid_capstyle`.
)r×r\rÃs r9Úget_solid_capstylezLine2D.get_solid_capstyle·rr;có—|jdvS)zÓ
Return whether line has a dashed linestyle.
A custom linestyle is assumed to be dashed, we do not inspect the
``onoffseq`` directly.
See also `~.Line2D.set_linestyle`.
)r®r¯r°rÀrÃs r9r†zLine2D.is_dashed¿s€ð�‰Ð"3Ð3Ð3r;©N)F)T)VÚ__name__Ú
__module__Ú __qualname__Ú__doc__Ú
lineStylesr�Ú
_drawStyles_lÚ
_drawStyles_sråÚ
drawStyleKeysrÚmarkersÚfilled_markersÚ
fillstylesÚ
fillStylesÚzorderrZrÅrÒr%r'r*ÚpropertyrÏr,r2rìr6r;r@rFrrMrrkrrnr r·r¹r»ršr¾rÁrÃr/r•rÊr–r™rÐrÒrØrÕrÖr¡r>rírårãrèrárâr
Úinterpdr.rôrõrórôrörîrHrIr‘rrÙrÛrrrØrÚrrr†Ú
__classcell__©r s@r9r§r§æs©ø„ñðØØ ØØØØñ ð€J�ð$Ø'Ø'Ø(ñ €Mð Ð"ð€Mð
4�MÐ3 ]Ð3€Jà4�mÐ4 mÐ4€Mð×!Ñ!€GØ ×/Ñ/€NØ×'Ñ'€Jà
€Fà#Ðò =ð ØØØØØ Ø!%Ø!%Ø!%Ø$*ØØ!Ø#Ø $Ø $Ø!%ØØØö'K$òZD+òL ò
&ñ˜.¨.Ó9€Jò,òò(9òvò òó òò*"ó+óZ
Nò&ô !ð ñOóðOòb!òòòòòò)òò$%óò4ò3ò óDó ó òò ò
ò
ò!$òFò.
Lò+ðZ×Ññ óð ò !ò;ò;ò?ò