Tweaked graph output
authorNeil Smith <neil.git@njae.me.uk>
Wed, 13 May 2020 15:21:50 +0000 (16:21 +0100)
committerNeil Smith <neil.git@njae.me.uk>
Wed, 13 May 2020 15:21:50 +0000 (16:21 +0100)
covid.ipynb
covid.md
covid_deaths_total_linear.png

index 55e9d3ddb15fb90150f96203dd8208de336ea5dd..fc77c0ddb00cfbae2af75d4bfc50f1aea5350df6 100644 (file)
   },
   {
    "cell_type": "code",
-   "execution_count": 199,
+   "execution_count": 275,
    "metadata": {},
    "outputs": [
     {
     "for c in COUNTRIES_CORE:\n",
     "    lvi = deaths[c].last_valid_index()\n",
     "    ax.text(x = lvi + 1, y = deaths[c][lvi], s = c)\n",
-    "plt.savefig('covid_deaths_total_linear.png')    "
+    "plt.savefig('covid_deaths_total_linear.png')    "
    ]
   },
   {
     "for c in COUNTRIES_OF_INTEREST:\n",
     "    lvi = deaths[c].last_valid_index()\n",
     "    ax.text(x = lvi + 1, y = deaths[c][lvi], s = c)\n",
-    "plt.savefig('covid_deaths_total_linear.png') "
+    "plt.savefig('covid_deaths_total_linear.png') "
    ]
   },
   {
index 0dcc3539f91d5996dc67b8c109c78a2af3201f69..318cd5d6f044f989c7d1073176c6bb869653adf6 100644 (file)
--- a/covid.md
+++ b/covid.md
@@ -233,7 +233,7 @@ ax = deaths[COUNTRIES_CORE].plot(figsize=(10, 6), title="Total deaths, linear")
 for c in COUNTRIES_CORE:
     lvi = deaths[c].last_valid_index()
     ax.text(x = lvi + 1, y = deaths[c][lvi], s = c)
-plt.savefig('covid_deaths_total_linear.png')    
+plt.savefig('covid_deaths_total_linear.png')    
 ```
 
 ```python
@@ -249,7 +249,7 @@ ax = deaths[COUNTRIES_OF_INTEREST].plot(figsize=(10, 6), title="Total deaths, li
 for c in COUNTRIES_OF_INTEREST:
     lvi = deaths[c].last_valid_index()
     ax.text(x = lvi + 1, y = deaths[c][lvi], s = c)
-plt.savefig('covid_deaths_total_linear.png') 
+plt.savefig('covid_deaths_total_linear.png') 
 ```
 
 ```python
index f4ace1e19492ce0625ec2eac555f221c3c883e22..1fe46cc62284194fe5c506e72e7c36136e954474 100644 (file)
Binary files a/covid_deaths_total_linear.png and b/covid_deaths_total_linear.png differ