Plotting

Create exposure table

scripts.plotting.loss_per_country(figure_output_path='test_country.png')[source]

This function is used to plot the total losses per year per country.

Arguments:
figure_output_path (string) – path to location where you want to save the figure
Returns:
A saved figure

Estimate losses per building

scripts.plotting.loss_per_sector(figure_output_path='test_sector.png')[source]

This function is used to plot the total losses for the following sectors: Residential,Industrial/Commercial,Transport,Other uses,Agriculture.

Arguments:
figure_output_path (string) – path to location where you want to save the figure
Returns:
A saved figure

Estimate losses per building

scripts.plotting.risk_map(figure_output_path='test_risk_map.png')[source]

This function is used to create a map with the total risk per region.

Arguments:
figure_output_path (string) – path to location where you want to save the figure
Returns:
A saved figure