Ñò D¨£Jc @ s¸ d d k l Z d d k Z e i Z d d k i Z d d k l Z d d k i Z d d k i Z d d k i Z d d k i Z d d k i Z d d k Z d e i f d „ ƒ YZ d S( iÿÿÿÿ( t divisionN( t allow_rasterizationt Spinec B sÏ e Z d Z d „ Z d „ Z e i e i ƒ e i e _ d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z d „ Z e d „ ƒ Z e d „ ƒ Z d „ Z RS( s“ 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 function:`~matplotlib.spines.Spine.set_position` for more information. The default position is ``('outward',0)``. Spines are subclasses of class:`~matplotlib.patches.Patch`, and inherit much of their behavior. Spines draw a line or a circle, depending if function:`~matplotlib.spines.Spine.set_patch_line` or function:`~matplotlib.spines.Spine.set_patch_circle` has been called. Line-like is the default. c C s d S( NR ( ( t self( ( s7 /usr/lib64/python2.6/site-packages/matplotlib/spines.pyt __str__" s c K sÞ t t | ƒ i | | | _ | i | i i ƒ | | _ | i d ƒ | i t d ƒ | i t d ƒ d | _ | i d ƒ | i | i i ƒ d | _ t | t i i ƒ p t ‚ | | _ d | _ t i ƒ | _ d S( sè - *axes* : the Axes instance containing the spine - *spine_type* : a string specifying the spine type - *path* : the path instance used to draw the spine Valid kwargs are: %(Patch)s t nones axes.edgecolors axes.linewidthg @t lineN( t superR t __init__t axest set_figuret figuret spine_typet set_facecolort set_edgecolort rcParamst set_linewidtht Nonet axist set_zordert set_transformt transAxest _positiont isinstancet matplotlibt patht Patht AssertionErrort _patht _patch_typet mtransformst IdentityTransformt _patch_transform( R R R R t kwargs( ( s7 /usr/lib64/python2.6/site-packages/matplotlib/spines.pyR % s c C s9 d | _ | | _ | d | _ | d | _ d | _ d S( s set the spine to be circulart circlei i N( R t _centert _widtht _heightt _angle( R t centert radius( ( s7 /usr/lib64/python2.6/site-packages/matplotlib/spines.pyt set_patch_circleM s c C s d | _ d S( s set the spine to be linearR N( R ( R ( ( s7 /usr/lib64/python2.6/site-packages/matplotlib/spines.pyt set_patch_lineU s c C s£ | i d j p t ‚ | i | i d ƒ | i | i d ƒ f } | i | i ƒ } | i | i ƒ } t i ƒ i | d | d ƒ i | i ƒ i | Œ | _ d S( s NOTE: This cannot be called until after this has been added to an Axes, otherwise unit conversion will fail. This maxes it very important to call the accessor method and not directly access the transformation member variable. R" i i g à?N( R R t convert_xunitsR# t convert_yunitsR$ R% R t Affine2Dt scalet rotate_degR&