small corrections: timestamp and metadata on images, headers in index.html
This commit is contained in:
@@ -3,6 +3,7 @@ Plot overview plot for each country separately
|
||||
"""
|
||||
import matplotlib.pyplot as pp
|
||||
import numpy as np
|
||||
import time as time_module
|
||||
basename="all_"
|
||||
|
||||
def plot(data, countries):
|
||||
@@ -26,6 +27,7 @@ def plot(data, countries):
|
||||
fig.legend(frameon=False, loc="upper left", bbox_to_anchor=(0,1), bbox_transform=ax1.transAxes)
|
||||
pp.title(loc)
|
||||
fig.tight_layout()
|
||||
pp.text(0.002,0.005, f"plot generated {time_module.strftime('%Y-%m-%d %H:%M')}, CC-by-sa-nc, origin: dukun.de/corona, datasource: ourworldindata.org/coronavirus-source-data", color="dimgrey", fontsize=8, transform=fig.transFigure)
|
||||
|
||||
pp.savefig("ac_"+name+".png")
|
||||
pp.close(fig)
|
||||
|
||||
@@ -21,7 +21,7 @@ Nicht schön, aber informativ.
|
||||
|
||||
Die Daten stammen von <a href=https://ourworldindata.org/coronavirus-source-data>hier</a> und wird dort aus den WHO- und ECDC-Reports generiert.
|
||||
<details open>
|
||||
<summary>Basics</summary>
|
||||
<summary><h2>Basics</h2></summary>
|
||||
<details open>
|
||||
<summary>Absolute Fälle</summary>
|
||||
<img src=total_cases.png />
|
||||
@@ -44,7 +44,7 @@ Die Daten stammen von <a href=https://ourworldindata.org/coronavirus-source-data
|
||||
<br>
|
||||
|
||||
<details open>
|
||||
<summary>Ausgewählte Länder</summary>
|
||||
<summary><h2>Ausgewählte Länder</h2></summary>
|
||||
|
||||
<b>Achtung! Die Datenqualität variiert zwischen den Ländern enorm, damit sind einzelne Länder auch nur schwer miteinander zu vergleichen!</b>
|
||||
<br>
|
||||
@@ -92,7 +92,7 @@ Die Daten stammen von <a href=https://ourworldindata.org/coronavirus-source-data
|
||||
</details>
|
||||
|
||||
<details>
|
||||
<summary>Alle Länder</summary>
|
||||
<summary><h2>Alle Länder</h2></summary>
|
||||
|
||||
<b>Achtung! Die Datenqualität variiert zwischen den Ländern enorm, damit sind einzelne Länder auch nur schwer miteinander zu vergleichen!</b>
|
||||
<br>
|
||||
|
||||
Reference in New Issue
Block a user