pygal.graph.pyramid module¶
Pyramid chart: Stacked bar chart containing only positive values divided by two axes, generally gender for age pyramid.
-
class
pygal.graph.pyramid.
Pyramid
(*args, **kwargs)[source]¶ Bases:
pygal.graph.horizontal.HorizontalGraph
,pygal.graph.pyramid.VerticalPyramid
Horizontal Pyramid graph class like the one used by age pyramid
-
class
pygal.graph.pyramid.
VerticalPyramid
(config=None, **kwargs)[source]¶ Bases:
pygal.graph.stackedbar.StackedBar
Vertical Pyramid graph class