Queer European MD passionate about IT
Browse Source

Add cell magic

Bruno @ Dataquest 3 years ago
parent
commit
2707fca02c
1 changed files with 2 additions and 1 deletions
  1. 2 1
      Mission610Solutions.ipynb

+ 2 - 1
Mission610Solutions.ipynb

@@ -184,7 +184,7 @@
    "outputs": [],
    "source": [
     "years = []\n",
-    "for y in range(min_year, max_year+1):\n",
+    "for y in range(min_year, max_year + 1):\n",
     "    years.append(y)"
    ]
   },
@@ -241,6 +241,7 @@
     }
    ],
    "source": [
+    "%matplotlib inline\n",
     "barplot(attempts_per_year)"
    ]
   },