domplotlib.plots
¶
Custom plotting functions.
New in version 0.2.0.
Functions:
|
Construct a pie chart from |
-
pie_from_tally
(tally, explode=(), *, percent=False, reverse=False, autopct=None, **kwargs)[source]¶ Construct a pie chart from
cawdrey.tally.Tally
.- Parameters
explode (
Collection
[str
]) – A list of key names to explode the segments for. Default()
.percent (
bool
) – IfTrue
, shows the percentage of each element out of the sum of all elements. DefaultFalse
.reverse (
bool
) – Order the wedges clockwise rather than anticlockwise.. DefaultFalse
.**kwargs – Other keyword arguments taken by
matplotlib.axes.Axes.pie()
.
- Return type
- Returns
- Overloads