Bug fix: moved __future__ import to the top

Closes #264
This commit is contained in:
rummanwaqar 2018-12-13 12:23:59 -07:00
parent 17f38c69f2
commit 6d01426413
25 changed files with 69 additions and 69 deletions

View File

@ -27,8 +27,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -949,7 +949,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -22,8 +22,8 @@
},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -2136,7 +2136,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -1792,7 +1792,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -2163,7 +2163,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -2172,7 +2172,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {

View File

@ -22,8 +22,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -1880,7 +1880,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {

View File

@ -22,8 +22,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -3132,7 +3132,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
},
"widgets": {
"application/vnd.jupyter.widget-state+json": {

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -1668,7 +1668,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -3978,7 +3978,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
},
"widgets": {
"state": {},

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -704,7 +704,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -3310,7 +3310,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -1594,7 +1594,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -1546,7 +1546,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -610,7 +610,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -2041,7 +2041,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -152,7 +152,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -536,7 +536,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -780,7 +780,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -20,8 +20,8 @@
"metadata": {},
"outputs": [],
"source": [
"%matplotlib inline\n",
"from __future__ import division, print_function"
"from __future__ import division, print_function\n",
"%matplotlib inline"
]
},
{
@ -109,7 +109,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -262,8 +262,8 @@
],
"source": [
"#format the book\n",
"%matplotlib inline\n",
"from __future__ import division, print_function\n",
"%matplotlib inline\n",
"from book_format import load_style\n",
"load_style()"
]
@ -312,7 +312,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -32,8 +32,8 @@
],
"source": [
"#format the book\n",
"%matplotlib inline\n",
"from __future__ import division, print_function\n",
"%matplotlib inline\n",
"import sys\n",
"sys.path.insert(0, '..')\n",
"import book_format\n",
@ -508,7 +508,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -32,8 +32,8 @@
],
"source": [
"#format the book\n",
"%matplotlib inline\n",
"from __future__ import division, print_function\n",
"%matplotlib inline\n",
"import sys\n",
"sys.path.insert(0, '..')\n",
"import book_format\n",
@ -176,7 +176,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -32,8 +32,8 @@
],
"source": [
"#format the book\n",
"%matplotlib inline\n",
"from __future__ import division, print_function\n",
"%matplotlib inline\n",
"import sys\n",
"sys.path.insert(0, '..')\n",
"import book_format\n",
@ -327,7 +327,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -39,8 +39,8 @@
],
"source": [
"#format the book\n",
"%matplotlib inline\n",
"from __future__ import division, print_function\n",
"%matplotlib inline\n",
"import sys\n",
"sys.path.insert(0, '..');\n",
"sys.path.insert(0, '../kf_book')\n",
@ -528,7 +528,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,

View File

@ -32,8 +32,8 @@
],
"source": [
"#format the book\n",
"%matplotlib inline\n",
"from __future__ import division, print_function\n",
"%matplotlib inline\n",
"import sys\n",
"sys.path.insert(0, '..')\n",
"import book_format\n",
@ -120,7 +120,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.1"
}
},
"nbformat": 4,