intellecton/venv/lib/python3.12/site-packages/matplotlib/__pycache__/spines.cpython-312.pyc

226 lines
27 KiB
Text
Raw Normal View History

<EFBFBD>
<00>Rj<>U<00><00><><00>ddlmZddlZddlZddlZddlmZmZddl m
Z
ddl m Z ddlmZddlmZGd<05>dej(<00>ZGd<07>d<08>ZGd <09>d
e<01>Zy) <0B>)<01>MutableMappingN)<02>_api<70>
_docstring)<01>allow_rasterizationc<00><00><00>eZdZdZd<02>Zej <00>fd<03><08>Zd<04>Zd<05>Z d<06>Z
d<07>Z <0B>fd<08>Z d<1A>fd <09> Z d
<EFBFBD>Zd <0B>Zd <0C>Zd <0A>Zd<0E>Zd<0F>Ze<14>fd<10><08>Zd<11>Zd<12>Zd<13>Zdd<14>Zd<15>Zed<16><00>Zed<17><00>Zed<18><00>Zd<19>Z<1F>xZ S)<1C>Spineay
An axis spine -- the line noting the data area boundaries.
Spines are the lines connecting the axis tick marks and noting the
boundaries of the data area. They can be placed at arbitrary
positions. See `~.Spine.set_position` for more information.
The default position is ``('outward', 0)``.
Spines are subclasses of `.Patch`, and inherit much of their behavior.
Spines draw a line, a circle, or an arc depending on if
`~.Spine.set_patch_line`, `~.Spine.set_patch_circle`, or
`~.Spine.set_patch_arc` has been called. Line-like is the default.
For examples see :ref:`spines_examples`.
c<00><00>y)Nr<00><00><01>selfs <20>T/home/antigravity/intellecton/venv/lib/python3.12/site-packages/matplotlib/spines.py<70>__str__z Spine.__str__ s<00><00><16>c <00><><00><01>t<00>|<00>d i|<04><01>||_|j|jj d<01><02><00>||_|j d<03>|jtjd<00>|jtjd<00>|jd<06>d|_ |jd<08>|j|jj<00>d|_d|_t%j&t(j*|<03> <09>||_d
|_t1j2<00>|_y) a<>
Parameters
----------
axes : `~matplotlib.axes.Axes`
The `~.axes.Axes` instance containing the spine.
spine_type : str
The spine type.
path : `~matplotlib.path.Path`
The `.Path` instance used to draw the spine.
Other Parameters
----------------
**kwargs
Valid keyword arguments are:
%(Patch:kwdoc)s
F<><01>root<6F>nonezaxes.edgecolorzaxes.linewidth<74>
projectingNg@)<01>path<74>liner
)<1B>super<65>__init__<5F>axes<65>
set_figure<EFBFBD>
get_figure<EFBFBD>
spine_type<EFBFBD> set_facecolor<6F> set_edgecolor<6F>mpl<70>rcParams<6D> set_linewidth<74> set_capstyle<6C>axis<69>
set_zorder<EFBFBD> set_transform<72> transData<74>_bounds<64> _positionr<00>check_isinstance<63>mpath<74>Path<74>_path<74> _patch_type<70> mtransforms<6D>IdentityTransform<72>_patch_transform)r rrr<00>kwargs<67> __class__s <20>r rzSpine.__init__#s<00><><00>& <0E><07><18>"<22>6<EFBFBD>"<22><18><04> <09> <0C><0F><0F><04> <09> <09>,<2C>,<2C>%<25>,<2C>8<>9<>$<24><04><0F> <0C><1A><1A>6<EFBFBD>"<22> <0C><1A><1A>3<EFBFBD><<3C><<3C>(8<>9<>:<3A> <0C><1A><1A>3<EFBFBD><<3C><<3C>(8<>9<>:<3A> <0C><19><19>,<2C>'<27><18><04> <09> <0C><0F><0F><03><1C> <0C><1A><1A>4<EFBFBD>9<EFBFBD>9<EFBFBD>.<2E>.<2E>/<2F><1B><04> <0C>
<1E><04><0E> <0C><1D><1D>e<EFBFBD>j<EFBFBD>j<EFBFBD>t<EFBFBD>4<><19><04>
<EFBFBD>"<22><04><18>!,<2C> =<3D> =<3D> ?<3F><04>rc<00><00>d|_||_|dz|_|dz|_||_||_t jj||<04>|_ |j|jj<00>d|_ y)zSet the spine to be arc-like.<2E>arc<72>TN)r-<00>_center<65>_width<74>_height<68>_theta1<61>_theta2r*r+r4r,r%r<00> transAxes<65>stale)r <00>center<65>radius<75>theta1<61>theta2s r <00> set_patch_arczSpine.set_patch_arcXsj<00><00> <20><04><18><1D><04> <0C><1C>q<EFBFBD>j<EFBFBD><04> <0B><1D><01>z<EFBFBD><04> <0C><1D><04> <0C><1D><04> <0C><1A>Z<EFBFBD>Z<EFBFBD>^<5E>^<5E>F<EFBFBD>F<EFBFBD>3<><04>
<EFBFBD> <0C><1A><1A>4<EFBFBD>9<EFBFBD>9<EFBFBD>.<2E>.<2E>/<2F><19><04>
rc<00><><00>d|_||_|dz|_|dz|_|j |j
j <00>d|_y)zSet the spine to be circular.<2E>circler5TN)r-r6r7r8r%rr;r<)r r=r>s r <00>set_patch_circlezSpine.set_patch_circleesF<00><00>#<23><04><18><1D><04> <0C><1C>q<EFBFBD>j<EFBFBD><04> <0B><1D><01>z<EFBFBD><04> <0C> <0C><1A><1A>4<EFBFBD>9<EFBFBD>9<EFBFBD>.<2E>.<2E>/<2F><19><04>
rc<00> <00>d|_d|_y)zSet the spine to be linear.rTN)r-r<r s r <00>set_patch_linezSpine.set_patch_lineos<00><00>!<21><04><18><19><04>
rc<00><><00>|jdvsJ<00>|j|jd<00>|j|jd<00>f}|j|j<00>}|j|j
<00>}t j<00>j|dz|dz<00>j|<01>|_
y)a!
Notes
-----
This cannot be called until after this has been added to an Axes,
otherwise unit conversion will fail. This makes it very important to
call the accessor method and not directly access the transformation
member variable.
<20>r4rCr<00><00><00>?N) r-<00>convert_xunitsr6<00>convert_yunitsr7r8r.<00>Affine2D<32>scale<6C> translater0)r r=<00>width<74>heights r <00>_recompute_transformzSpine._recompute_transformus<><00><00><14><1F><1F>#4<>4<>4<>4<><16>%<25>%<25>d<EFBFBD>l<EFBFBD>l<EFBFBD>1<EFBFBD>o<EFBFBD>6<><16>%<25>%<25>d<EFBFBD>l<EFBFBD>l<EFBFBD>1<EFBFBD>o<EFBFBD>6<>8<><06><14>#<23>#<23>D<EFBFBD>K<EFBFBD>K<EFBFBD>0<><05><15>$<24>$<24>T<EFBFBD>\<5C>\<5C>2<><06>!<17> <0B> 4<> 4<> 6<> <12>U<EFBFBD>5<EFBFBD>3<EFBFBD>;<3B><06><13> <0C> -<2D> <16>Y<EFBFBD><06>! <20><04>rc<00>t<00><01>|jdvr|j<00>|jSt<00>|<00><00>S)NrH)r-rRr0r<00>get_patch_transform)r r2s <20>r rTzSpine.get_patch_transform<72>s8<00><><00> <0F> <1B> <1B>0<> 0<> <10> %<25> %<25> '<27><17>(<28>(<28> (<28><18>7<EFBFBD>.<2E>0<> 0rc<00><00><01>|j<00>t<00>|<00> |<01><01>}|j<00>|jj <00>s|S|g}|jj <00>}t th|<04>h|jj<00>z<00>d<02>}t th|<04>h|jj<00>z<00>d<02>}||fD<00>]<5D>}|<07><01>|j<00>}|j} |j}
|
dk(rd} d} n|
dk(rd} d} nd} d} |jd<08> <09>j} | | zd
z | z} | | zd
z | z} |jj <00>ro|j d k(r)|j"| z
|_|j$| z|_n7|j d k(r(|j&| z
|_|j(| z|_|j*j <00>ro|j d k(r)|j$| z|_|j"| z
|_n7|j dk(r(|j(| z|_|j&| z
|_|j-|<08><00><01><>t.j0j3|<03>S)a
Return the window extent of the spines in display space, including
padding for ticks (but not their labels)
See Also
--------
matplotlib.axes.Axes.get_tightbbox
matplotlib.axes.Axes.get_window_extent
)<01>rendererN<72>outrIr<00>inrJTr<00>H<00>left<66>bottom<6F>right<68>top)<1A>_adjust_locationr<00>get_window_extentr#<00> get_visible<6C> _update_ticks<6B>next<78>iter<65>
majorTicks<EFBFBD>
minorTicks<EFBFBD>frozen<65>_size<7A>_tickdirr<00>dpi<70> tick1liner<00>x0<78>x1<78>y0<79>y1<79> tick2line<6E>appendr.<00>Bbox<6F>union)r rV<00>bb<62>bboxes<65> drawn_ticks<6B>
major_tick<EFBFBD>
minor_tick<EFBFBD>tick<63>bb0<62>tickl<6B>tickdir<69>padout<75>padinrir2s <20>r r_zSpine.get_window_extent<6E>s?<00><><00> <0A><1D><1D><1F> <12>W<EFBFBD> &<26><08> &<26> 9<><02> <0F>9<EFBFBD>9<EFBFBD> <1C>D<EFBFBD>I<EFBFBD>I<EFBFBD>$9<>$9<>$;<3B><15>I<EFBFBD><14><14><06><1A>i<EFBFBD>i<EFBFBD>-<2D>-<2D>/<2F> <0B><19>$<24>~<7E><1B>~<7E>0G<30>$<24>)<29>)<29>2F<32>2F<32>0G<30>G<>H<>$<24>O<>
<EFBFBD><19>$<24>~<7E><1B>~<7E>0G<30>$<24>)<29>)<29>2F<32>2F<32>0G<30>G<>H<>$<24>O<>
<EFBFBD><1F><1A>,<2C>" <1F>D<EFBFBD><13>|<7C><18><14>)<29>)<29>+<2B>C<EFBFBD><18>J<EFBFBD>J<EFBFBD>E<EFBFBD><1A>m<EFBFBD>m<EFBFBD>G<EFBFBD><16>%<25><1F><1A><06><19><05><18>D<EFBFBD><1F><1A><06><19><05><1C><06><1B><05><16>/<2F>/<2F>t<EFBFBD>/<2F>,<2C>0<>0<>C<EFBFBD><1B>e<EFBFBD>^<5E>b<EFBFBD>(<28>3<EFBFBD>.<2E>F<EFBFBD><19>E<EFBFBD>M<EFBFBD>B<EFBFBD>&<26><13>,<2C>E<EFBFBD><13>~<7E>~<7E>)<29>)<29>+<2B><17>?<3F>?<3F>f<EFBFBD>,<2C> <20>V<EFBFBD>V<EFBFBD>f<EFBFBD>_<EFBFBD>C<EFBFBD>F<EFBFBD> <20>V<EFBFBD>V<EFBFBD>e<EFBFBD>^<5E>C<EFBFBD>F<EFBFBD><19>_<EFBFBD>_<EFBFBD><08>0<> <20>V<EFBFBD>V<EFBFBD>f<EFBFBD>_<EFBFBD>C<EFBFBD>F<EFBFBD> <20>V<EFBFBD>V<EFBFBD>e<EFBFBD>^<5E>C<EFBFBD>F<EFBFBD><13>~<7E>~<7E>)<29>)<29>+<2B><17>?<3F>?<3F>g<EFBFBD>-<2D> <20>V<EFBFBD>V<EFBFBD>f<EFBFBD>_<EFBFBD>C<EFBFBD>F<EFBFBD> <20>V<EFBFBD>V<EFBFBD>e<EFBFBD>^<5E>C<EFBFBD>F<EFBFBD><19>_<EFBFBD>_<EFBFBD><05>-<2D> <20>V<EFBFBD>V<EFBFBD>f<EFBFBD>_<EFBFBD>C<EFBFBD>F<EFBFBD> <20>V<EFBFBD>V<EFBFBD>f<EFBFBD>_<EFBFBD>C<EFBFBD>F<EFBFBD> <12>M<EFBFBD>M<EFBFBD>#<23> <1E>E" <1F>H<1B><1F><1F>%<25>%<25>f<EFBFBD>-<2D>-rc<00><00>|jS<00>N)r,r s r <00>get_pathzSpine.get_path<74><00> <00><00><13>z<EFBFBD>z<EFBFBD>rc<00>b<00>|j<00>#d|_|j|j<00>yy)N)<02>outward<72>)r(<00> set_positionr s r <00>_ensure_position_is_setzSpine._ensure_position_is_set<65>s*<00><00> <0F>><3E>><3E> !<21>-<2D>D<EFBFBD>N<EFBFBD> <10> <1D> <1D>d<EFBFBD>n<EFBFBD>n<EFBFBD> -<2D> "rc<00> <00>||_d|_y)z<>
Register an axis.
An axis should be registered with its corresponding spine from
the Axes instance. This allows the spine to clear any axis
properties when needed.
TN)r#r<)r r#s r <00> register_axiszSpine.register_axis<69>s<00><00><19><04> <09><19><04>
rc<00>r<00>|j<00>|j<00>|jj<00>yy)zClear the current spine.N)<03>_clearr#<00>clearr s r r<>z Spine.clear<61>s(<00><00> <0C> <0B> <0B> <0A> <0F>9<EFBFBD>9<EFBFBD> <20> <10>I<EFBFBD>I<EFBFBD>O<EFBFBD>O<EFBFBD> <1D> !rc<00><00>d|_y)z<>
Clear things directly related to the spine.
In this way it is possible to avoid clearing the Axis as well when calling
from library code where it is known that the Axis is cleared separately.
N)r(r s r r<>z Spine._clear<61>s <00><00><1E><04>rc<00><><00>|jdk(ry|j<00>|j\}}n||jdvr$|jjj\}}nJ|jdvr$|jjj
\}}nt d|j<00><00><02><00>|jdk(<00>r<>|jdv<00>r\ |jj<00>} |jj<00>}||z|z}||z|z}||kDr||}}tjjtj|<01>tj|<02><00>|_|jd
k(r<>|j"<00>t%j&<00>}n|j"j)<00>}|j+|jjj<00>\}} |jj-<00>}|j+|<08>}||z
||z
z } | |_| |_yt d |jz<00><00>y|j j2}
|
j4d k(sJd <0A><00>|jdvr ||
d<||
d<y|jdvr ||
d<||
d<yt d |jz<00><00>#t$rd}Y<00><01><>wxYw#t$rd }Y<00><01><>wxYw#t$r|}Y<00><>wxYw)z4Automatically set spine bounds to the view interval.rCN<>rZr\<00>r]r[<00>unknown spine spine_type: r4<00>r[r]rIrr[z#unable to set bounds for spine "%s")r5r5zunexpected vertices shape<70>rrI)rIrI)rr<00>rIr)rr'r<00>viewLim<69> intervaly<6C> intervalx<6C>
ValueErrorr-<00>get_theta_direction<6F>AttributeError<6F>get_theta_offsetr*r+r4<00>np<6E>rad2degr,r#r.r/<00> get_transform<72> transform<72> get_roriginr8r7<00>vertices<65>shape) r <00>low<6F>high<67> direction<6F>offset<65>tr<74>rmin<69>rmax<61>rorigin<69>scaled_diameter<65>v1s r r^zSpine._adjust_location<6F>s<><00><00> <10>?<3F>?<3F>h<EFBFBD> &<26> <12> <0F><<3C><<3C> #<23><1C> <0C> <0C>I<EFBFBD>C<EFBFBD><14> <11>_<EFBFBD>_<EFBFBD> 1<> 1<><1C> <09> <09>)<29>)<29>3<>3<>I<EFBFBD>C<EFBFBD><14> <11>_<EFBFBD>_<EFBFBD> 1<> 1<><1C> <09> <09>)<29>)<29>3<>3<>I<EFBFBD>C<EFBFBD><14><1C>9<>$<24>/<2F>/<2F>9J<39>K<>L<> L<> <0F> <1B> <1B>u<EFBFBD> $<24><13><EFBFBD><EFBFBD>"3<>3<>"<22> $<24> <09> <09> =<3D> =<3D> ?<3F>I<EFBFBD><1F>!<21>Y<EFBFBD>Y<EFBFBD>7<>7<>9<>F<EFBFBD><1A>I<EFBFBD>o<EFBFBD><06>.<2E><03><1B>i<EFBFBD>'<27>&<26>0<><04><16><14>:<3A> $<24>c<EFBFBD><14>C<EFBFBD>"<22>Z<EFBFBD>Z<EFBFBD>^<5E>^<5E>B<EFBFBD>J<EFBFBD>J<EFBFBD>s<EFBFBD>O<EFBFBD>R<EFBFBD>Z<EFBFBD>Z<EFBFBD><04>=M<>N<><04>
<EFBFBD><17>?<3F>?<3F>h<EFBFBD>.<2E><1B>y<EFBFBD>y<EFBFBD>(<28>(<28>:<3A>:<3A><<3C><02>!<21>Y<EFBFBD>Y<EFBFBD>4<>4<>6<><02>!#<23><1C><1C>d<EFBFBD>i<EFBFBD>i<EFBFBD>.?<3F>.?<3F>.I<>.I<>!J<>J<EFBFBD>D<EFBFBD>$<24>8<>"&<26>)<29>)<29>"7<>"7<>"9<><07>#%<25>,<2C>,<2C>w<EFBFBD>"7<><07>'+<2B>g<EFBFBD>~<7E>$<24><17>.<2E>&I<>O<EFBFBD>#2<>D<EFBFBD>L<EFBFBD>"1<>D<EFBFBD>K<EFBFBD>!<21>!F<>!%<25><1F><1F>"1<>2<>2<>#/<2F>(<16><1A><1A>$<24>$<24>B<EFBFBD><15>8<EFBFBD>8<EFBFBD>v<EFBFBD>%<25> B<>'B<> B<>%<25><13><EFBFBD><EFBFBD>"3<>3<><1E><02>4<EFBFBD><08><1F><02>4<EFBFBD><08><15><1F><1F>$5<>5<><1E><02>4<EFBFBD><08><1F><02>4<EFBFBD><08> <20>!F<>!%<25><1F><1F>"1<>2<>2<><32>U&<26>"<22> !<21>I<EFBFBD>"<22><>&<26><1F><1E>F<EFBFBD><1F><>"*<2A>'<27>"&<26><07>'<27>s6<00> J3<00>$K<00>K<00>3 K<03>K<03> K<03>K<03> K%<03>$K%c<00>T<00><01>|j<00>t<00>|<00> |<01>}d|_|S)NF)r^r<00>drawr<)r rV<00>retr2s <20>r r<>z
Spine.draw+s)<00><><00> <0C><1D><1D><1F><13>g<EFBFBD>l<EFBFBD>8<EFBFBD>$<24><03><1A><04>
<EFBFBD><12>
rc<00>
<00>|dvrn+t|<01>dk7r td<03><00>|ddvr td<06><00>||_|j|j <00><00>|j
<00>|j
j <00>d|_y) a<>
Set the position of the spine.
Spine position is specified by a 2 tuple of (position type,
amount). The position types are:
* 'outward': place the spine out from the data area by the specified
number of points. (Negative values place the spine inwards.)
* 'axes': place the spine at the specified Axes coordinate (0 to 1).
* 'data': place the spine at the specified data coordinate.
Additionally, shorthand notations define a special positions:
* 'center' -> ``('axes', 0.5)``
* 'zero' -> ``('data', 0.0)``
Examples
--------
:doc:`/gallery/spines/spine_placement_demo`
)r=<00>zeror5z&position should be 'center' or 2-tupler)r<>r<00>dataz:position[0] should be one of 'outward', 'axes', or 'data' NT)<08>lenr<6E>r(r%<00>get_spine_transformr#<00> reset_ticksr<)r <00>positions r r<>zSpine.set_position2s<><00><00>* <14>)<29> )<29> <10><12>8<EFBFBD>}<7D><01>!<21> <20>!I<>J<>J<><17><01>{<7B>"=<3D>=<3D> <20>"6<>7<>7<>!<21><04><0E> <0C><1A><1A>4<EFBFBD>3<>3<>5<>6<> <0F>9<EFBFBD>9<EFBFBD> <20> <10>I<EFBFBD>I<EFBFBD> !<21> !<21> #<23><19><04>
rc<00>:<00>|j<00>|jS)zReturn the spine position.)r<>r(r s r <00> get_positionzSpine.get_positionUs<00><00> <0C>$<24>$<24>&<26><13>~<7E>~<7E>rc<00>p<00>|j<00>|j}t|t<00>r|dk(rd}n|dk(rd}t |<01>dk(sJd<06><00>|\}}t j gd<07>|<02><08>|jd vr|jjd
<EFBFBD> <0B>}nC|jd vr|jjd
<EFBFBD> <0B>}ntd |j<00><02><02><00>|dk(rj|dk(r|Sddddd<14>|j}|tj|<05>zdz }|tjg|<06>|j!d<16><17>j"<00><01><06>zS|dk(rk|jd vr'tj$j'dddd|d<0F>|zS|jdvr'tj$j'ddddd|<03>|zSy|dk(r<>|jdvr|dz}|jd vrctj(tj$<00>j+|d<0F>|jj,z|jj,<00>S|jdvrctj(|jj,tj$<00>j+d|<03>|jj,z<00>Syy)zReturn the spine transform.r=)rrJr<>)r<>rr5zposition should be 2-tuple)rr<>r<>)<01> position_typer<65><00>grid)<01>whichr<68>r<>r<>r)<02><><EFBFBD><EFBFBD><EFBFBD>rr<>)rr<>r<>)rZr\r[r]rYFrrrIr<>r<>)r\r]N)r<>r(<00>
isinstance<EFBFBD>strr<72>r<00> check_in_listrr<00>get_yaxis_transform<72>get_xaxis_transformr<6D>r<><00>arrayr.<00>ScaledTranslationr<00>dpi_scale_transrM<00> from_values<65>blended_transform_factoryrOr&)r r<>r<><00>amount<6E>base_transform<72>
offset_vec<EFBFBD> offset_dotss r r<>zSpine.get_spine_transformZs<><00><00> <0C>$<24>$<24>&<26><17>><3E>><3E><08> <15>h<EFBFBD><03> $<24><17>8<EFBFBD>#<23>(<28><08><19>V<EFBFBD>#<23>&<26><08><12>8<EFBFBD>}<7D><01>!<21>?<3F>#?<3F>?<3F>!<21> (<28><1D> <0A>v<EFBFBD> <0C><1A><1A>6<>)6<> 8<> <0F>?<3F>?<3F>/<2F> /<2F>!<21>Y<EFBFBD>Y<EFBFBD>:<3A>:<3A><16>:<3A>H<>N<EFBFBD> <11>_<EFBFBD>_<EFBFBD> 1<> 1<>!<21>Y<EFBFBD>Y<EFBFBD>:<3A>:<3A><16>:<3A>H<>N<EFBFBD><1C>9<>$<24>/<2F>/<2F>9L<39>M<>N<> N<> <18>I<EFBFBD> %<25><15><11>{<7B>%<25>%<25>&-<2D><06>(/<2F><06> <20> $<24><0F><0F>1<>
<EFBFBD>%<25>r<EFBFBD>x<EFBFBD>x<EFBFBD>
<EFBFBD>';<3B>;<3B>b<EFBFBD>@<40> <0B>&<26>%<25>7<>7<>W<01>(<28>W<01>*.<2E>/<2F>/<2F>u<EFBFBD>/<2F>*E<>*U<>*U<>W<01>W<01>X<01><1B>f<EFBFBD> $<24><13><EFBFBD><EFBFBD>"3<>3<>#<23>,<2C>,<2C>8<>8<><11>A<EFBFBD>q<EFBFBD>!<21>V<EFBFBD>Q<EFBFBD>O<>(<28>)<29>*<2A><15><1F><1F>$5<>5<>#<23>,<2C>,<2C>8<>8<><11>A<EFBFBD>q<EFBFBD>!<21>Q<EFBFBD><06>O<>(<28>)<29>*<2A>6<><1B>f<EFBFBD> $<24><13><EFBFBD><EFBFBD>"2<>2<><17>!<21> <0B><06><13><EFBFBD><EFBFBD>"3<>3<>"<22><<3C><<3C><1F>(<28>(<28>*<2A>4<>4<>V<EFBFBD>Q<EFBFBD>?<3F><1A>i<EFBFBD>i<EFBFBD>)<29>)<29>*<2A><18>I<EFBFBD>I<EFBFBD>'<27>'<27>)<29>)<29><16><1F><1F>$5<>5<>"<22><<3C><<3C><18>I<EFBFBD>I<EFBFBD>'<27>'<27><1F>(<28>(<28>*<2A>4<>4<>Q<EFBFBD><06>?<3F><1A>i<EFBFBD>i<EFBFBD>)<29>)<29>*<2A>+<2B>+<2B>6<>%rc<00><><00>|jdk(r td<02><00>|<02>tj|<01>r|\}}|j <00>xsd\}}|<01>|}|<02>|}||f|_d|_y)a<>
Set the spine bounds.
Parameters
----------
low : float or None, optional
The lower spine bound. Passing *None* leaves the limit unchanged.
The bounds may also be passed as the tuple (*low*, *high*) as the
first positional argument.
.. ACCEPTS: (low: float, high: float)
high : float or None, optional
The higher spine bound. Passing *None* leaves the limit unchanged.
rCz5set_bounds() method incompatible with circular spinesN<73>NNT)rr<>r<><00>iterable<6C>
get_boundsr'r<)r r<>r<><00>old_low<6F>old_highs r <00>
set_boundszSpine.set_bounds<64>sw<00><00>" <10>?<3F>?<3F>h<EFBFBD> &<26><1C>G<>I<01> I<01> <0F><<3C>B<EFBFBD>K<EFBFBD>K<EFBFBD><03>,<2C><1B>I<EFBFBD>C<EFBFBD><14> <20>O<EFBFBD>O<EFBFBD>-<2D>=<3D><1C><19><07><18> <0E>;<3B><19>C<EFBFBD> <0F><<3C><1B>D<EFBFBD><1B>T<EFBFBD>{<7B><04> <0C><19><04>
rc<00><00>|jS)zGet the bounds of the spine.)r'r s r r<>zSpine.get_bounds<64>s <00><00><13>|<7C>|<7C>rc <00>j<00>|dk(rtjddg<02>}ne|dk(rtjddg<02>}nH|dk(rtjddg<02>}n+|dk(rtjddg<02>}ntd |z<00><00>||||fi|<03><01>}|jtj
d
|<02><00><00>|S) z#Create and return a linear `Spine`.rZ)r<><00>+<2B><16><><EFBFBD><EFBFBD>?r\)<02><00>?r<>r[)r<>r<>r])r<>r<>z"unable to make path for spine "%s"z axes.spines.)r*r+r<><00> set_visiblerr )<06>clsrrr1r<00>results r <00> linear_spinezSpine.linear_spine<6E>s<><00><00> <16><16> <1F><18>:<3A>:<3A>|<7C>\<5C>:<3A>;<3B>D<EFBFBD> <17>7<EFBFBD> "<22><18>:<3A>:<3A>|<7C>\<5C>:<3A>;<3B>D<EFBFBD> <17>8<EFBFBD> #<23><18>:<3A>:<3A>|<7C>\<5C>:<3A>;<3B>D<EFBFBD> <17>5<EFBFBD> <20><18>:<3A>:<3A>|<7C>\<5C>:<3A>;<3B>D<EFBFBD><1C>A<>J<EFBFBD>N<>O<> O<><14>T<EFBFBD>:<3A>t<EFBFBD>6<>v<EFBFBD>6<><06><0E><1A><1A>3<EFBFBD><<3C><<3C>,<2C>z<EFBFBD>l<EFBFBD>(C<>D<>E<><15> rc <00><><00>tjj||<06>}||||fi|<07><01>} | j||||<06>| S)z!Create and return an arc `Spine`.)r*r+r4rA)
r<EFBFBD>rrr=r>r?r@r1rr<>s
r <00> arc_spinezSpine.arc_spine<6E>sD<00><00><15>z<EFBFBD>z<EFBFBD>~<7E>~<7E>f<EFBFBD>f<EFBFBD>-<2D><04><14>T<EFBFBD>:<3A>t<EFBFBD>6<>v<EFBFBD>6<><06><0E><1C><1C>V<EFBFBD>V<EFBFBD>V<EFBFBD>V<EFBFBD><<3C><15> rc <00><><00>tjj<00>}d}||||fi|<04><01>}|j||<03>|S)z%Create and return a circular `Spine`.rC)r*r+<00> unit_circlerD)r<>rr=r>r1rrr<>s r <00>circular_spinezSpine.circular_spine<6E>sC<00><00><15>z<EFBFBD>z<EFBFBD>%<25>%<25>'<27><04><1D>
<EFBFBD><14>T<EFBFBD>:<3A>t<EFBFBD>6<>v<EFBFBD>6<><06><0E><1F><1F><06><06>/<2F><15> rc<00>4<00>|j|<01>d|_y)aW
Set the edgecolor.
Parameters
----------
c : :mpltype:`color`
Notes
-----
This method does not modify the facecolor (which defaults to "none"),
unlike the `.Patch.set_color` method defined in the parent class. Use
`.Patch.set_facecolor` to set the facecolor.
TN)rr<)r <00>cs r <00> set_colorzSpine.set_color<6F>s<00><00> <0A><1A><1A>1<EFBFBD><1D><19><04>
rrr<>)!<21>__name__<5F>
__module__<EFBFBD> __qualname__<5F>__doc__rr<00>interpdrrArDrFrRrTr_r<>r<>r<>r<>r<>r^rr<>r<>r<>r<>r<>r<><00> classmethodr<64>r<>r<>r<><00> __classcell__)r2s@r rrs<><00><><00><08>"<17><10><17><17>2@<01><18>2@<01>h <1A><1A><1A>  <20>$1<>8.<2E>t<1A>.<2E> <1A><1E> <1E>>2<>@<19><13><19><13> !<1A>F<1E>
9+<2B>v<1A><<1C><11><16><11><16>$<11><16><11><16><11><16><11><16>rrc<00>"<00>eZdZdZd<02>Zd<03>Zd<04>Zy)<06> SpinesProxyag
A proxy to broadcast ``set_*()`` and ``set()`` method calls to contained `.Spines`.
The proxy cannot be used for any other operations on its members.
The supported methods are determined dynamically based on the contained
spines. If not all spines support a given method, it's executed only on
the subset of spines that support it.
c<00><00>||_yr)<01> _spine_dict)r <00>
spine_dicts r rzSpinesProxy.__init__<5F>s
<00><00>%<25><04>rc<00> <00>|jj<00>D<00>cgc]}t||<01>r|<02><02>}}|dk7r|jd<02>r|st d|<01>d<04><03><00>d<05>}t j |||<01>}|dj|_|Scc}w)N<>set<65>set_z''SpinesProxy' object has no attribute '<27>'c<00>6<00>|D]}t||<01>|i|<03><01><00>yr)<01>getattr)<05>_targets<74> _funcname<6D>argsr1<00>spines r <00>xz"SpinesProxy.__getattr__.<locals>.xs'<00><00>!<21> ;<3B><05>)<29><07><05>y<EFBFBD>)<29>4<EFBFBD>:<3A>6<EFBFBD>:<3A> ;rr)r<><00>values<65>hasattr<74>
startswithr<EFBFBD><00> functools<6C>partialr<6C>)r <00>namer<65><00>broadcast_targetsr<73>s r <00> __getattr__zSpinesProxy.__getattr__<5F>s<><00><00>04<30>0@<40>0@<40>0G<30>0G<30>0I<30>6<>u<EFBFBD> '<27><05>t<EFBFBD> 4<>#<23>6<><19>6<> <10>E<EFBFBD>M<EFBFBD>$<24>/<2F>/<2F>&<26>"9<>BS<42> <20>9<>$<24><16>q<EFBFBD>A<>C<01> C<01> ;<3B> <16> <1D> <1D>a<EFBFBD>!2<>D<EFBFBD> 9<><01>%<25>a<EFBFBD>(<28>0<>0<><01> <09><10><08><>6s<00>B c<00><><00>g}|jj<00>D]#}|jd<01>t|<02>D<00><00><00>%t t t |<01><00><00>S)Nc3<00>BK<00>|]}|jd<00>r|<01><01><00>y<01>w)r<>N)r<>)<02>.0r<EFBFBD>s r <00> <genexpr>z&SpinesProxy.__dir__.<locals>.<genexpr> s%<00><00><><00>L<01>!<21>4<EFBFBD>?<3F>?<3F>6<EFBFBD>3J<33><1E>L<01>s<00>)r<>r<><00>extend<6E>dir<69>list<73>sortedr<64>)r <00>namesr<73>s r <00>__dir__zSpinesProxy.__dir__ s]<00><00><12><05><19>%<25>%<25>,<2C>,<2C>.<2E> L<01>E<EFBFBD> <11>L<EFBFBD>L<EFBFBD>L<01>%(<28><15>Z<EFBFBD>L<01> L<01> L<01><14>F<EFBFBD>3<EFBFBD>u<EFBFBD>:<3A>&<26>'<27>'rN)r<>r<>r<>r<>rrr
r
rr r<>r<><00>s<00><00><08>&<26> <11>(rr<>c<00>V<00>eZdZdZd<02>Zed<03><00>Zd<04>Zd<05>Zd<06>Z d<07>Z
d<08>Z d <09>Z d
<EFBFBD>Z d <0B>Zy ) <0A>Spinesa<73>
The container of all `.Spine`\s in an Axes.
The interface is dict-like mapping names (e.g. 'left') to `.Spine` objects.
Additionally, it implements some pandas.Series-like features like accessing
elements by attribute::
spines['top'].set_visible(False)
spines.top.set_visible(False)
Multiple spines can be addressed simultaneously by passing a list::
spines[['top', 'right']].set_visible(False)
Use an open slice to address all spines::
spines[:].set_visible(False)
The latter two indexing methods will return a `SpinesProxy` that broadcasts all
``set_*()`` and ``set()`` calls to its members, but cannot be used for any other
operation.
c <00><00>||_yr<00><01>_dict)r r1s r rzSpines.__init__(s <00><00><1B><04>
rc<00><00>|di|<01><01>S<00>Nr
r
)r<><00>ds r <00> from_dictzSpines.from_dict+s <00><00><12>x<EFBFBD>Q<EFBFBD>x<EFBFBD>rc<00><00>|jSrrr s r <00> __getstate__zSpines.__getstate__/r<>rc<00>(<00>|jdi|<01><01>yr)r)r <00>states r <00> __setstate__zSpines.__setstate__2s<00><00><15><04> <0A> <0A><1E><05>rc<00>Z<00> |j|S#t$rtd|<01>d<02><03><00>wxYw)Nz$'Spines' object does not contain a 'z' spine)r<00>KeyErrorr<72>)r r<>s r rzSpines.__getattr__5sC<00><00> F<01><17>:<3A>:<3A>d<EFBFBD>#<23> #<23><><17> F<01> <20>6<>t<EFBFBD>f<EFBFBD>G<EFBFBD>D<>F<01> F<01> F<01>s<00><00>*c<00><00>t|t<00>ru|D<00>cgc]}||jvs<01>|<02><02>}}|rtdj |<03><00><00>t |jj <00>D<00><02>cic] \}}||vr||<04><02>c}}<02>St|t<00>r td<02><00>t|t<00>rD|j<00>-|j<00>!|j<00>t |j<00>Std<03><00>|j|Scc}wcc}}w)Nz, z/Multiple spines must be passed as a single listzYSpines does not support slicing except for the fully open slice [:] to access all spines.) r<>rrr<00>joinr<6E><00>items<6D>tupler<65><00>slice<63>start<72>stop<6F>step)r <00>key<65>k<> unknown_keys<79>vs r <00> __getitem__zSpines.__getitem__<s<><00><00> <15>c<EFBFBD>4<EFBFBD> <20>'*<2A>B<>!<21>a<EFBFBD>t<EFBFBD>z<EFBFBD>z<EFBFBD>.A<>A<EFBFBD>B<>L<EFBFBD>B<><1B><1E>t<EFBFBD>y<EFBFBD>y<EFBFBD><1C>6<>7<>7<><1E><14><1A><1A>1A<31>1A<31>1C<31> -<2D><14><11>A<EFBFBD>#$<24><03>8<EFBFBD>!"<22>1<EFBFBD><04> -<2D>.<2E> .<2E> <15>c<EFBFBD>5<EFBFBD> !<21><1C>N<>O<> O<> <15>c<EFBFBD>5<EFBFBD> !<21><12>y<EFBFBD>y<EFBFBD> <20>S<EFBFBD>X<EFBFBD>X<EFBFBD>%5<>#<23>(<28>(<28>:J<>"<22>4<EFBFBD>:<3A>:<3A>.<2E>.<2E> <20>;<3B><<3C><<3C><14>z<EFBFBD>z<EFBFBD>#<23><EFBFBD><1E><>C<01><> -s<00>D<04>D<04>-D
c<00>"<00>||j|<yrr)r r#<00>values r <00> __setitem__zSpines.__setitem__Ns<00><00><1F><04>
<EFBFBD>
<EFBFBD>3<EFBFBD>rc<00><00>|j|=yrr)r r#s r <00> __delitem__zSpines.__delitem__Rs <00><00> <10>J<EFBFBD>J<EFBFBD>s<EFBFBD>Orc<00>,<00>t|j<00>Sr)rcrr s r <00>__iter__zSpines.__iter__Vs<00><00><13>D<EFBFBD>J<EFBFBD>J<EFBFBD><1F>rc<00>,<00>t|j<00>Sr)r<>rr s r <00>__len__zSpines.__len__Ys<00><00><12>4<EFBFBD>:<3A>:<3A><EFBFBD>rN)r<>r<>r<>r<>rr<>rrrrr'r*r,r.r0r
rr r r sI<00><00><08>,<1C><11><18><11><18><1A><1F>F<01><1F>$ <20><1C> <20>rr )<18>collections.abcrr<><00>numpyr<79><00>
matplotlibrrr<00>matplotlib.artistr<00>matplotlib.transforms<6D>
transformsr.<00>matplotlib.patches<65>patches<65>mpatches<65>matplotlib.pathrr*<00>Patchrr<>r r
rr <00><module>r<sL<00><01>*<2A><10><12><18>'<27>1<>+<2B>%<25><1F>]<1A>H<EFBFBD>N<EFBFBD>N<EFBFBD>]<1A>@ (<28> (<28>FI<1F>^<5E>Ir