module plots.pyramid
#
Short summary#
module actuariat_python.plots.pyramid
Graphs on population
Functions#
function |
truncated documentation |
---|---|
create a population pyramid |
Documentation#
Graphs on population
- actuariat_python.plots.pyramid.plot_population_pyramid(men, women, ax=None, title='Population Pyramid', xlabel='People', ylabel='Age', labels=('Men', 'Women', 'difference'), **options)#
create a population pyramid
- Paramètres:
men – men (starting at 0)
women – women (starting at 0)
ax – existing ax to use or new ax if None
title – graph title
xlabel – x label
ylabel – y label
labels – series names
options – options to create the graph if ax is None
- Renvoie:
ax