feat: Figures are now automatically generated
This commit is contained in:
parent
a3bf0654f9
commit
8a3c5159b5
2 changed files with 52 additions and 112 deletions
43
plot.py
43
plot.py
|
@ -717,6 +717,49 @@ def render_dashboard():
|
|||
data_second_vaccination = data_second_vaccination,
|
||||
#details_per_land = dict(sorted(details_per_land_formatted.items(), key=lambda item: item[0])),
|
||||
#details_total = details_total_formatted
|
||||
figures = [
|
||||
{
|
||||
'index': 1,
|
||||
'filename': 'extrapolated_to_10_percent',
|
||||
'caption': 'Tägliche Impfquote, kumulierte Impfungen und lineare Extrapolation bis 10 % der Bevölkerung Deutschlands'
|
||||
},{
|
||||
'index': 2,
|
||||
'filename': 'extrapolated_to_70_percent',
|
||||
'caption': 'Tägliche Impfquote, kumulierte Impfungen und lineare Extrapolation bis 70 % der Bevölkerung Deutschlands'
|
||||
},{
|
||||
'index': 3,
|
||||
'filename': 'extrapolated_to_100_percent',
|
||||
'caption': 'Tägliche Impfquote, kumulierte Impfungen und lineare Extrapolation bis 100 % der Bevölkerung Deutschlands'
|
||||
},{
|
||||
'index': 4,
|
||||
'filename': 'vaccination_bar_graph_total_time',
|
||||
'caption': 'Tägliche Impfrate (Erst- und Zweitimpfung übereinander)'
|
||||
},{
|
||||
'index': 5,
|
||||
'filename': 'vaccination_bar_graph_total_time_two_bars',
|
||||
'caption': 'Tägliche Impfrate (Erst- und Zweitimpfung nebeneinander)'
|
||||
},{
|
||||
'index': 6,
|
||||
'filename': 'vaccination_bar_graph_compare_both_vaccinations',
|
||||
'caption': 'Tägliche Impfrate (Erst- und Zweitimpfung nebeneinander)'
|
||||
},{
|
||||
'index': 7,
|
||||
'filename': 'cumulative_two_vaccinations',
|
||||
'caption': 'Kumulative Impfrate (Erst- und Zweitimpfung)'
|
||||
},{
|
||||
'index': 8,
|
||||
'filename': 'cumulative_two_vaccinations_percentage',
|
||||
'caption': 'Kumulative Impfrate (Erst- und Zweitimpfung) in Prozent der Bevölkerung Deutschlands'
|
||||
},{
|
||||
'index': 9,
|
||||
'filename': 'people_between_first_and_second',
|
||||
'caption': 'Anzahl der Personen zwischen Erst- und Zweitimpfung, also Personen, die die erste Impfung erhalten haben, die zweite aber noch nicht'
|
||||
},{
|
||||
'index': 10,
|
||||
'filename': 'vaccination_rate',
|
||||
'caption': 'Tägliche Impfrate sowie durchschnittliche Impfrate'
|
||||
}
|
||||
]
|
||||
).dump('site/index.xhtml')
|
||||
|
||||
shutil.copyfile(dashboard_filename, dashboard_archive_filename)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue