Files
old-parkingkoncept/parkingkonceptvenv/lib/python3.7/site-packages/matplotlib/__pycache__/stackplot.cpython-37.pyc

72 lines
3.2 KiB
Plaintext
Raw Normal View History

2019-11-17 12:44:16 +01:00
B
U<>]p<00>@s(dZddlZdgZdddd<06>dd<03>ZdS)z<>
Stacked area plot for 1D arrays inspired by Douglas Y'barbo's stackoverflow
answer:
http://stackoverflow.com/questions/2225995/how-can-i-create-stacked-line-graph-with-matplotlib
(http://stackoverflow.com/users/66549/doug)
<EFBFBD>N<> stackplot<6F><00>zero)<03>labels<6C>colors<72>baselinec
Osbt<00>|<05>}t|<02>}|dk r&|j|d<02>tj|dt<00>|jtj<07>d<04>}|dkrRd} <09>nR|dkr<>t<00>|d<03> d} || ddd<01>f7}<08>n |d kr<>|j d}
||
dt<00>
|
<EFBFBD>dd<01>df<00>d<03>} | |
} || 7}n<>|d
k<02>r<>t<00>|d<03>} t<00> | <0B>} | dk} d | | | | <t<00> |dd<01>dd <0C>ft<00> |<07>f<02>}| |}|d|7}|| }d|dd<01>df<|d|}t<00>|<11>d<03><01>}|d| } || 7}nd |}|d7}t|<12><01>|j<0F><10>}|j|| |ddd<01>ff|t|d<01>d<0F>|<06><02>}dg|jjdd<01><|g}xhtt|<07>d <00>D]T}|j<0F><10>}|<15>|j|||dd<01>f||d dd<01>ff|t|d<01>d<0F>|<06><02><01><00>qW|S)a<>
Draw a stacked area plot.
Parameters
----------
x : 1d array of dimension N
y : 2d array (dimension MxN), or sequence of 1d arrays (each dimension 1xN)
The data is assumed to be unstacked. Each of the following
calls is legal::
stackplot(x, y) # where y is MxN
stackplot(x, y1, y2, y3, y4) # where y1, y2, y3, y4, are all 1xNm
baseline : {'zero', 'sym', 'wiggle', 'weighted_wiggle'}
Method used to calculate the baseline:
- ``'zero'``: Constant zero baseline, i.e. a simple stacked plot.
- ``'sym'``: Symmetric around zero and is sometimes called
'ThemeRiver'.
- ``'wiggle'``: Minimizes the sum of the squared slopes.
- ``'weighted_wiggle'``: Does the same but weights to account for
size of each layer. It is also called 'Streamgraph'-layout. More
details can be found at http://leebyron.com/streamgraph/.
labels : Length N sequence of strings
Labels to assign to each data series.
colors : Length N sequence of colors
A list or tuple of colors. These will be cycled through and used to
colour the stacked areas.
**kwargs
All other keyword arguments are passed to `Axes.fill_between()`.
Returns
-------
list : list of `.PolyCollection`
A list of `.PolyCollection` instances, one for each element in the
stacked area plot.
N)<01>colorr)Zaxis<69>dtyperg<00>symg<00>?ZwiggleZweighted_wiggleg<00>?<3F>z#Baseline method %s not recognised. z5Expected 'zero', 'sym', 'wiggle' or 'weighted_wiggle')Z facecolor<6F>label)<18>npZ row_stack<63>iterZset_prop_cycleZcumsumZ promote_typesr Zfloat32<33>sum<75>shapeZarangeZ
zeros_likeZhstackZdiff<66>
ValueErrorZ
_get_linesZget_next_colorZ fill_between<65>nextZ sticky_edges<65>y<>range<67>len<65>append)Zaxes<65>xrrr<00>args<67>kwargsr<00>stack<63>
first_line<EFBFBD>m<>totalZ inv_total<61>maskZincreaseZ
below_sizeZmove_up<75>centerZerrstrrZcoll<6C>r<>irr<00></tmp/pip-install-i8dhxrtk/matplotlib/matplotlib/stackplot.pyrsX/
 
(


 
$   


,)<05>__doc__Znumpyr <00>__all__rrrrr"<00><module>s