/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/path.pyo (20954B)
Ńņ …ń™Jc @sĒdZddkZddklZddkZddklZddklZl Z l Z l Z l Z l Z lZlZddklZlZddklZdefd „ƒYZe Zd „Z dS( s2 Contains a class for managing paths (polylines). i’’’’N(tWeakValueDictionary(tma(t point_in_pathtget_path_extentstpoint_in_path_collectiontget_path_collection_extentst path_in_pathtpath_intersects_pathtconvert_path_to_polygonst cleanup_path(tsimple_linear_interpolationtmaxdict(trcParamstPathcBsÜeZdZdZdZdZdZdZdZddddddddddddddddgZ e i Z d dd„Zed„ƒZed „ƒZd „Zd „Zd ed ed ed „Zd „Zd d„Zd d„Zd d„Zed„Zed„Zd„Zd ddd„Zd Zed„ƒZ e!ƒZ"ed„ƒZ#e!ƒZ$edd„ƒZ%ed„ƒZ&d Z'ed„ƒZ(ed ed„ƒZ)ed d„ƒZ*e+dƒZ,edd„ƒZ-RS(!s~ :class:`Path` represents a series of possibly disconnected, possibly closed, line and curve segments. The underlying storage is made up of two parallel numpy arrays: - *vertices*: an Nx2 float array of vertices - *codes*: an N-length uint8 array of vertex types These two arrays always have the same length in the first dimension. For example, to represent a cubic curve, you must provide three vertices as well as three codes ``CURVE3``. The code types are: - ``STOP`` : 1 vertex (ignored) A marker for the end of the entire path (currently not required and ignored) - ``MOVETO`` : 1 vertex Pick up the pen and move to the given vertex. - ``LINETO`` : 1 vertex Draw a line from the current position to the given vertex. - ``CURVE3`` : 1 control point, 1 endpoint Draw a quadratic Bezier curve from the current position, with the given control point, to the given end point. - ``CURVE4`` : 2 control points, 1 endpoint Draw a cubic Bezier curve from the current position, with the given control points, to the given end point. - ``CLOSEPOLY`` : 1 vertex (ignored) Draw a line segment to the start point of the current polyline. Users of Path objects should not access the vertices and codes arrays directly. Instead, they should use :meth:`iter_segments` to get the vertex/code pairs. This is important, since many :class:`Path` objects, as an optimization, do not store a *codes* at all, but have a default one provided for them by :meth:`iter_segments`. Note also that the vertices and codes arrays should be treated as immutable -- there are a number of optimizations and assumptions made up front in the constructor that will not change when the data changes. iiiiiiOcCsųti|ƒo"|itiƒitiƒ}nti|tiƒ}|dj oti||i ƒ}nt do6t |ƒdjo#|djpti |t ijƒ|_t d|_ti|ƒi ƒ |_||_||_||_dS(s¾ Create a new path with the given vertices and codes. *vertices* is an Nx2 numpy float array, masked array or Python sequence. *codes* is an N-length numpy array or Python sequence of type :attr:`matplotlib.path.Path.code_type`. These two arrays must have the same length in the first dimension. If *codes* is None, *vertices* will be treated as a series of line segments. If *vertices* contains masked values, they will be converted to NaNs which are then handled correctly by the Agg PathIterator and other consumers of path data, such as :meth:`iter_segments`. *interpolation_steps* is used as a hint to certain projections, such as Polar, that this path should be linearly interpolated immediately before drawing. This attribute is primarily an implementation detail and is not intended for public use. s path.simplifyi€spath.simplify_thresholdN(Rt isMaskedArraytastypetnptfloat_tfilledtnantasarraytNonet code_typeR tlentallR tLINETOtshould_simplifytsimplify_thresholdtisfinitet has_nonfinitetcodestverticest_interpolation_steps(tselfRRR ((s5/usr/lib64/python2.6/site-packages/matplotlib/path.pyt__init__Ss"  (   c CsĒ|i\}}}|d}||}ti|dfƒ}ti|tƒ|i}|i|dd|…<|i||d|…`_. grSlłŠ?gą?g@ggšægš?iii’’’’N( t _unit_circleRRtsqrttarrayRtCURVE4R%R'R((R*tMAGICtSQRTHALFtMAGIC45RR((s5/usr/lib64/python2.6/site-packages/matplotlib/path.pyt unit_circleøsJ                      c Csė|tid9}|tid9}tid}tid}titi|ƒti|ƒƒ}titi|ƒti|ƒƒ}||ti|||ƒ8}||tijo"||tijo||7}n|djo%tdti|||ƒƒ}n|djot dƒ‚n|||} ti d| ƒ} ti| ƒti dd| | ƒdd} ti |||dt ƒ} ti| ƒ} ti| ƒ}| d }|d }| }|}| d}|d}| }|}|o£|d d }ti|dftiƒ}|iti|f|iƒ}|d |d g|d<|i|ig|d d+|i|ig|d )d}|d}nz|d d}ti|dftiƒ}|iti|f|iƒ}|d |d g|d <|i|d `_. g€f@g@gą?iisn must be >= 1 or Noneg@g@i’’’’iiiiž’’’N(RRjtarctan2RnRmtfloorRR&tceilt ValueErrorttanRztlinspacetTruetemptyRR|R%RR'RR((R*ttheta1ttheta2tntis_wedgettwopithalfpiteta1teta2tdetatttalphaRatcos_etatsin_etatxAtyAtxA_dottyA_dottxBtyBtxB_dottyB_dotR>RRt vertex_offsettend((s5/usr/lib64/python2.6/site-packages/matplotlib/path.pytarcõsd  $$( % 0     !!%%cCs|i|||tƒS(sO (staticmethod) Returns a wedge of the unit circle from angle *theta1* to angle *theta2* (in degrees). If *n* is provided, it is the number of spline segments to make. If *n* is not provided, the number of spline segments is determined based on the delta between *theta1* and *theta2*. (R R‡(R*R‰RŠR‹((s5/usr/lib64/python2.6/site-packages/matplotlib/path.pytwedgeCs iicCsrddkl}|djodS|ii||fƒ}|dj o|S|||ƒ}||i||f<|S(sæ Given a hatch specifier, *hatchpattern*, generates a Path that can be used in a repeated hatching pattern. *density* is the number of lines per unit square. i’’’’(tget_pathN(tmatplotlib.hatchR¢Rt _hatch_dictRi(R*t hatchpatterntdensityR¢t hatch_path((s5/usr/lib64/python2.6/site-packages/matplotlib/path.pythatchQs  N(.t__name__t __module__t__doc__RCR'RtCURVE3R|R(RBRtuint8RRR"t classmethodR3R?R@RAR‡tFalseRORPRSRURXRZR`RcRfRgR\RRhRqRrRwRxRyR€R R”R R¤RØ(((s5/usr/lib64/python2.6/site-packages/matplotlib/path.pyR sX0    0   :       =M cGsJddkl}t|dƒdjotdƒ‚n|it|ŒŒS(sp Given a sequence of :class:`Path` objects, returns the bounding box that encapsulates all of them. i’’’’(RViisNo paths provided(RWRVRR„t from_extentst_get_path_collection_extents(R7RV((s5/usr/lib64/python2.6/site-packages/matplotlib/path.pyRfs(R«tmathtweakrefRtnumpyRRtmatplotlib._pathRRRRRRRR tmatplotlib.cbookR R t matplotlibR tobjectR R±(((s5/usr/lib64/python2.6/site-packages/matplotlib/path.pyts  :’’U