Rerun all notebooks prior to pushing

issue#2
Tim Skov Jacobsen 2019-11-09 06:14:42 +01:00
parent c3efbb484d
commit 5b934f676b
18 changed files with 1376 additions and 863 deletions

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 20, "execution_count": 1,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -21,12 +21,12 @@
"body,\n", "body,\n",
"div.body {\n", "div.body {\n",
" font-family: Roboto;\n", " font-family: Roboto;\n",
" font-size: 16pt;\n", " /* font-size: 16pt; */\n",
" color: #303030;\n", " color: #303030;\n",
" /* background-color: #d1b5b5; */\n", " /* background-color: #d1b5b5; */\n",
" /* background: #8f4f4f; */\n", " /* background: #8f4f4f; */\n",
" margin-right: 10px;\n", " margin-right: 10px;\n",
" -webkit-font-smoothing: antialiased !important;\n", " /* -webkit-font-smoothing: antialiased !important; */\n",
"}\n", "}\n",
"\n", "\n",
"/* Code inside HTML/Markdown */\n", "/* Code inside HTML/Markdown */\n",
@ -36,7 +36,7 @@
"\n", "\n",
"/* Output area from code cells */\n", "/* Output area from code cells */\n",
"div.output_area pre {\n", "div.output_area pre {\n",
" font-size: 11pt !important;\n", " /* font-size: 11pt !important; */\n",
" color: #303030;\n", " color: #303030;\n",
"}\n", "}\n",
"\n", "\n",
@ -47,12 +47,12 @@
" font-family: 'Roboto', 'Signika', sans-serif;\n", " font-family: 'Roboto', 'Signika', sans-serif;\n",
" font-weight: ligher;\n", " font-weight: ligher;\n",
" font-style: normal;\n", " font-style: normal;\n",
" font-size: 20pt;\n", " /* font-size: 20pt; */\n",
" width: 100%;\n", " width: 100%;\n",
" text-align: left;\n", " text-align: left;\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" border-bottom: 1px solid #EE7631;\n", " border-bottom: 1px solid rgba(238, 118, 49, 0.575);\n",
" /* padding: 5px; */\n", " padding-bottom: 6px;\n",
" /* font-variant: small-caps; */\n", " /* font-variant: small-caps; */\n",
" }\n", " }\n",
" \n", " \n",
@ -85,12 +85,12 @@
"h2 {\n", "h2 {\n",
" font-family: \"Roboto\";\n", " font-family: \"Roboto\";\n",
" text-align: left;\n", " text-align: left;\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" margin-bottom: 5px;\n", " margin-bottom: 5px;\n",
" /* border-bottom: 1px solid lightgray; */\n", " /* border-bottom: 1px solid lightgray; */\n",
" border-bottom: 0.5px solid #EE7631;\n", " border-bottom: 0.8px solid rgba(238, 118, 49, 0.575);\n",
" padding: 0px\n", " padding-bottom: 6px\n",
" }\n", " }\n",
" \n", " \n",
" /* table {\n", " /* table {\n",
@ -120,12 +120,12 @@
"\n", "\n",
"h3 {\n", "h3 {\n",
" font-family: 'Roboto';\n", " font-family: 'Roboto';\n",
" /* text-align: left;\n", " /* text-align: left; */\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " /* color: #EE7631; */\n",
" margin-bottom: 5px;\n", " /* margin-bottom: 5px; */\n",
" border-bottom: 0.5px solid #EE7631;\n", " border-bottom: 0.5px solid #ededed;\n",
" padding: 5px */\n", " padding-bottom: 6px\n",
" }\n", " }\n",
"\n", "\n",
"\n", "\n",
@ -159,10 +159,17 @@
"}\n", "}\n",
"\n", "\n",
"\n", "\n",
"/* Change global font size (for code) */\n",
".CodeMirror {\n",
"font-size: 16px !important;\n",
"font-family: monospace;\n",
"}\n",
"\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n", "/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: #ededed;\n", " background: #ededed;\n",
" color: #303030; \n", " color: #303030; \n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -175,7 +182,7 @@
"/* Background of code cells */\n", "/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: rgba(211, 211, 211, 0.123);\n", " background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n", " color: #303030;\n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -262,16 +269,13 @@
".cm-s-ipython span.cm-quote {\n", ".cm-s-ipython span.cm-quote {\n",
" color: #009e07;\n", " color: #009e07;\n",
"}\n", "}\n",
"\n",
"\n",
"\n",
"</style>" "</style>"
], ],
"text/plain": [ "text/plain": [
"<IPython.core.display.HTML object>" "<IPython.core.display.HTML object>"
] ]
}, },
"execution_count": 20, "execution_count": 1,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 1,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -21,12 +21,12 @@
"body,\n", "body,\n",
"div.body {\n", "div.body {\n",
" font-family: Roboto;\n", " font-family: Roboto;\n",
" font-size: 16pt;\n", " /* font-size: 16pt; */\n",
" color: #303030;\n", " color: #303030;\n",
" /* background-color: #d1b5b5; */\n", " /* background-color: #d1b5b5; */\n",
" /* background: #8f4f4f; */\n", " /* background: #8f4f4f; */\n",
" margin-right: 10px;\n", " margin-right: 10px;\n",
" -webkit-font-smoothing: antialiased !important;\n", " /* -webkit-font-smoothing: antialiased !important; */\n",
"}\n", "}\n",
"\n", "\n",
"/* Code inside HTML/Markdown */\n", "/* Code inside HTML/Markdown */\n",
@ -36,7 +36,7 @@
"\n", "\n",
"/* Output area from code cells */\n", "/* Output area from code cells */\n",
"div.output_area pre {\n", "div.output_area pre {\n",
" font-size: 11pt !important;\n", " /* font-size: 11pt !important; */\n",
" color: #303030;\n", " color: #303030;\n",
"}\n", "}\n",
"\n", "\n",
@ -47,12 +47,12 @@
" font-family: 'Roboto', 'Signika', sans-serif;\n", " font-family: 'Roboto', 'Signika', sans-serif;\n",
" font-weight: ligher;\n", " font-weight: ligher;\n",
" font-style: normal;\n", " font-style: normal;\n",
" font-size: 20pt;\n", " /* font-size: 20pt; */\n",
" width: 100%;\n", " width: 100%;\n",
" text-align: left;\n", " text-align: left;\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" border-bottom: 1px solid #EE7631;\n", " border-bottom: 1px solid rgba(238, 118, 49, 0.575);\n",
" /* padding: 5px; */\n", " padding-bottom: 6px;\n",
" /* font-variant: small-caps; */\n", " /* font-variant: small-caps; */\n",
" }\n", " }\n",
" \n", " \n",
@ -85,12 +85,12 @@
"h2 {\n", "h2 {\n",
" font-family: \"Roboto\";\n", " font-family: \"Roboto\";\n",
" text-align: left;\n", " text-align: left;\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" margin-bottom: 5px;\n", " margin-bottom: 5px;\n",
" /* border-bottom: 1px solid lightgray; */\n", " /* border-bottom: 1px solid lightgray; */\n",
" border-bottom: 0.5px solid #EE7631;\n", " border-bottom: 0.8px solid rgba(238, 118, 49, 0.575);\n",
" padding: 5px\n", " padding-bottom: 6px\n",
" }\n", " }\n",
" \n", " \n",
" /* table {\n", " /* table {\n",
@ -125,7 +125,7 @@
" /* color: #EE7631; */\n", " /* color: #EE7631; */\n",
" /* margin-bottom: 5px; */\n", " /* margin-bottom: 5px; */\n",
" border-bottom: 0.5px solid #ededed;\n", " border-bottom: 0.5px solid #ededed;\n",
" padding: 5px\n", " padding-bottom: 6px\n",
" }\n", " }\n",
"\n", "\n",
"\n", "\n",
@ -159,10 +159,17 @@
"}\n", "}\n",
"\n", "\n",
"\n", "\n",
"/* Change global font size (for code) */\n",
".CodeMirror {\n",
"font-size: 16px !important;\n",
"font-family: monospace;\n",
"}\n",
"\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n", "/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: #ededed;\n", " background: #ededed;\n",
" color: #303030; \n", " color: #303030; \n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -175,7 +182,7 @@
"/* Background of code cells */\n", "/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: rgba(211, 211, 211, 0.123);\n", " background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n", " color: #303030;\n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -262,16 +269,13 @@
".cm-s-ipython span.cm-quote {\n", ".cm-s-ipython span.cm-quote {\n",
" color: #009e07;\n", " color: #009e07;\n",
"}\n", "}\n",
"\n",
"\n",
"\n",
"</style>" "</style>"
], ],
"text/plain": [ "text/plain": [
"<IPython.core.display.HTML object>" "<IPython.core.display.HTML object>"
] ]
}, },
"execution_count": 2, "execution_count": 1,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -965,7 +969,7 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"2010334988872" "1946077813640"
] ]
}, },
"execution_count": 21, "execution_count": 21,
@ -985,7 +989,7 @@
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"2010334988872" "1946077813640"
] ]
}, },
"execution_count": 22, "execution_count": 22,
@ -1141,8 +1145,8 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"x_new has object id: 2010333159304 \n", "x_new has object id: 1946078486344 \n",
"y_new has object id: 2010335884488\n" "y_new has object id: 1946078485960\n"
] ]
} }
], ],
@ -1687,7 +1691,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.7.5" "version": "3.7.1"
}, },
"latex_envs": { "latex_envs": {
"LaTeX_envs_menu_present": true, "LaTeX_envs_menu_present": true,

View File

@ -18,27 +18,15 @@
"} */\n", "} */\n",
"\n", "\n",
"\n", "\n",
"/* body,\n", "body,\n",
"div.body {\n", "div.body {\n",
" font-family: Roboto;\n", " font-family: Roboto;\n",
" font-size: 16pt;\n", " /* font-size: 16pt; */\n",
" color: #303030;\n", " color: #303030;\n",
" /* background-color: #d1b5b5; */\n", " /* background-color: #d1b5b5; */\n",
" /* background: #8f4f4f; */\n", " /* background: #8f4f4f; */\n",
" margin-right: 10px;\n", " margin-right: 10px;\n",
" -webkit-font-smoothing: antialiased !important;\n", " /* -webkit-font-smoothing: antialiased !important; */\n",
"} */\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n",
" font-size: 11pt;\n",
" background: #ededed;\n",
" color: #303030; \n",
" border-radius: 2px;\n",
" /* margin-right: 10px; */\n",
" font-style: normal;\n",
" font-weight: normal;\n",
"}\n", "}\n",
"\n", "\n",
"/* Code inside HTML/Markdown */\n", "/* Code inside HTML/Markdown */\n",
@ -46,54 +34,26 @@
" border-radius: 5px;\n", " border-radius: 5px;\n",
"}\n", "}\n",
"\n", "\n",
"/* Bootstrap alert boxes */\n",
".alert-info {\n",
" /* padding: 10px; */\n",
" /* color: #303030; */\n",
" border-color: white;\n",
" /* background-color: lightgray; */\n",
" border-radius: 10px;\n",
"}\n",
"\n",
".alert-success {\n",
" /* padding: 10px; */\n",
" /* color: #303030; */\n",
" border-color: white;\n",
" /* background-color: lightgray; */\n",
" border-radius: 10px;\n",
"}\n",
"\n",
"\n",
"/* Output area from code cells */\n", "/* Output area from code cells */\n",
"div.output_area pre {\n", "div.output_area pre {\n",
" font-size: 11pt !important;\n", " /* font-size: 11pt !important; */\n",
" color: #303030;\n", " color: #303030;\n",
"}\n", "}\n",
"\n", "\n",
"/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n",
" font-size: 11pt;\n",
" background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n",
" border-radius: 2px;\n",
" font-style: normal;\n",
" font-weight: normal;\n",
"}\n",
"\n",
"\n", "\n",
"\n", "\n",
"/* HEADING 1 styles */\n", "/* HEADING 1 styles */\n",
"h1 {\n", "h1 {\n",
" font-family: 'Signika', sans-serif;\n", " font-family: 'Roboto', 'Signika', sans-serif;\n",
" font-weight: ligher;\n", " font-weight: ligher;\n",
" font-style: normal;\n", " font-style: normal;\n",
" width: 100%;\n", " /* font-size: 20pt; */\n",
" text-align: left;\n", " width: 100%;\n",
" color: #EE7631;\n", " text-align: left;\n",
" border-bottom: 1px solid #EE7631;\n", " color: #EE7631;\n",
" /* padding: 5px; */\n", " border-bottom: 1px solid rgba(238, 118, 49, 0.575);\n",
" /* font-variant: small-caps; */\n", " padding-bottom: 6px;\n",
" /* font-variant: small-caps; */\n",
" }\n", " }\n",
" \n", " \n",
" /* table {\n", " /* table {\n",
@ -123,14 +83,14 @@
"\n", "\n",
"/* HEADING 2 styles */\n", "/* HEADING 2 styles */\n",
"h2 {\n", "h2 {\n",
" font-family: Roboto;\n", " font-family: \"Roboto\";\n",
" text-align: left;\n", " text-align: left;\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" margin-bottom: 5px;\n", " margin-bottom: 5px;\n",
" /* border-bottom: 1px solid lightgray; */\n", " /* border-bottom: 1px solid lightgray; */\n",
" border-bottom: 0.5px solid #EE7631;\n", " border-bottom: 0.8px solid rgba(238, 118, 49, 0.575);\n",
" padding: 5px\n", " padding-bottom: 6px\n",
" }\n", " }\n",
" \n", " \n",
" /* table {\n", " /* table {\n",
@ -159,13 +119,13 @@
" } */\n", " } */\n",
"\n", "\n",
"h3 {\n", "h3 {\n",
" font-family: Roboto;\n", " font-family: 'Roboto';\n",
" /* text-align: left;\n", " /* text-align: left; */\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " /* color: #EE7631; */\n",
" margin-bottom: 5px;\n", " /* margin-bottom: 5px; */\n",
" border-bottom: 0.5px solid #EE7631;\n", " border-bottom: 0.5px solid #ededed;\n",
" padding: 5px */\n", " padding-bottom: 6px\n",
" }\n", " }\n",
"\n", "\n",
"\n", "\n",
@ -199,17 +159,37 @@
"}\n", "}\n",
"\n", "\n",
"\n", "\n",
"/* Line numbers in code cells */\n", "/* Change global font size (for code) */\n",
".cm-s-ipython .CodeMirror-linenumber {\n", ".CodeMirror {\n",
" color: #8d8d8d8d;\n", "font-size: 16px !important;\n",
"font-family: monospace;\n",
"}\n",
"\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n",
" /* font-size: 11pt; */\n",
" background: #ededed;\n",
" color: #303030; \n",
" border-radius: 2px;\n",
" /* margin-right: 10px; */\n",
" font-style: normal;\n",
" font-weight: normal;\n",
"}\n",
"\n",
"\n",
"/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n",
" /* font-size: 11pt; */\n",
" background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n",
" border-radius: 2px;\n",
" font-style: normal;\n",
" font-weight: normal;\n",
"}\n", "}\n",
"\n", "\n",
"/* .cm-s-ipython .CodeMirror-gutters {\n",
" background: #e0e1e3;\n",
" border: none;\n",
" border-radius: 0px;\n",
" width: 36px;\n",
"} */\n",
"\n", "\n",
"/* .CodeMirror-gutters {\n", "/* .CodeMirror-gutters {\n",
" border: none;\n", " border: none;\n",
@ -222,17 +202,13 @@
"\n", "\n",
"\n", "\n",
"\n", "\n",
"\n",
"\n",
"\n",
"\n",
"/* Code syntax highlithig theme */\n", "/* Code syntax highlithig theme */\n",
".cm-s-ipython .CodeMirror-cursor {\n", ".cm-s-ipython .CodeMirror-cursor {\n",
" border-left: 2px solid #ff711a !important;\n", " border-left: 2px solid #ff711a !important;\n",
"}\n", "}\n",
".cm-s-ipython span.cm-comment {\n", ".cm-s-ipython span.cm-comment {\n",
" color: #8d8d8d;\n", " color: #8d8d8d;\n",
" font-style: italic;\n", " font-style: italic; \n",
"}\n", "}\n",
".cm-s-ipython span.cm-atom {\n", ".cm-s-ipython span.cm-atom {\n",
" color: #055be0;\n", " color: #055be0;\n",
@ -292,7 +268,8 @@
"}\n", "}\n",
".cm-s-ipython span.cm-quote {\n", ".cm-s-ipython span.cm-quote {\n",
" color: #009e07;\n", " color: #009e07;\n",
"}</style>" "}\n",
"</style>"
], ],
"text/plain": [ "text/plain": [
"<IPython.core.display.HTML object>" "<IPython.core.display.HTML object>"
@ -379,7 +356,7 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"['Hello', 'hey', 'Hey', 'Hi', 'Hi!']\n" "['hey', 'Hello', 'Hi!', 'Hi', 'Hey']\n"
] ]
} }
], ],
@ -565,7 +542,7 @@
"name": "stdout", "name": "stdout",
"output_type": "stream", "output_type": "stream",
"text": [ "text": [
"{'HE200A', 'HE210B', 'HE210A'}\n" "{'HE210A', 'HE200A', 'HE210B'}\n"
] ]
} }
], ],
@ -659,6 +636,7 @@
} }
], ],
"metadata": { "metadata": {
"hide_input": false,
"kernelspec": { "kernelspec": {
"display_name": "Python 3", "display_name": "Python 3",
"language": "python", "language": "python",
@ -674,7 +652,25 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.7.5" "version": "3.7.1"
},
"latex_envs": {
"LaTeX_envs_menu_present": true,
"autoclose": false,
"autocomplete": true,
"bibliofile": "biblio.bib",
"cite_by": "apalike",
"current_citInitial": 1,
"eqLabelWithNumbers": true,
"eqNumInitial": 1,
"hotkeys": {
"equation": "Ctrl-E",
"itemize": "Ctrl-I"
},
"labels_anchors": false,
"latex_user_defs": false,
"report_style_numbering": false,
"user_envs_cfg": false
}, },
"toc": { "toc": {
"base_numbering": 1, "base_numbering": 1,

File diff suppressed because one or more lines are too long

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 23, "execution_count": 1,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -18,27 +18,15 @@
"} */\n", "} */\n",
"\n", "\n",
"\n", "\n",
"/* body,\n", "body,\n",
"div.body {\n", "div.body {\n",
" font-family: Roboto;\n", " font-family: Roboto;\n",
" font-size: 16pt;\n", " /* font-size: 16pt; */\n",
" color: #303030;\n", " color: #303030;\n",
" /* background-color: #d1b5b5; */\n", " /* background-color: #d1b5b5; */\n",
" /* background: #8f4f4f; */\n", " /* background: #8f4f4f; */\n",
" margin-right: 10px;\n", " margin-right: 10px;\n",
" -webkit-font-smoothing: antialiased !important;\n", " /* -webkit-font-smoothing: antialiased !important; */\n",
"} */\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n",
" font-size: 11pt;\n",
" background: #ededed;\n",
" color: #303030; \n",
" border-radius: 2px;\n",
" /* margin-right: 10px; */\n",
" font-style: normal;\n",
" font-weight: normal;\n",
"}\n", "}\n",
"\n", "\n",
"/* Code inside HTML/Markdown */\n", "/* Code inside HTML/Markdown */\n",
@ -46,54 +34,26 @@
" border-radius: 5px;\n", " border-radius: 5px;\n",
"}\n", "}\n",
"\n", "\n",
"/* Bootstrap alert boxes */\n",
".alert-info {\n",
" /* padding: 10px; */\n",
" /* color: #303030; */\n",
" border-color: white;\n",
" /* background-color: lightgray; */\n",
" border-radius: 10px;\n",
"}\n",
"\n",
".alert-success {\n",
" /* padding: 10px; */\n",
" /* color: #303030; */\n",
" border-color: white;\n",
" /* background-color: lightgray; */\n",
" border-radius: 10px;\n",
"}\n",
"\n",
"\n",
"/* Output area from code cells */\n", "/* Output area from code cells */\n",
"div.output_area pre {\n", "div.output_area pre {\n",
" font-size: 11pt !important;\n", " /* font-size: 11pt !important; */\n",
" color: #303030;\n", " color: #303030;\n",
"}\n", "}\n",
"\n", "\n",
"/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n",
" font-size: 11pt;\n",
" background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n",
" border-radius: 2px;\n",
" font-style: normal;\n",
" font-weight: normal;\n",
"}\n",
"\n",
"\n", "\n",
"\n", "\n",
"/* HEADING 1 styles */\n", "/* HEADING 1 styles */\n",
"h1 {\n", "h1 {\n",
" font-family: 'Signika', sans-serif;\n", " font-family: 'Roboto', 'Signika', sans-serif;\n",
" font-weight: ligher;\n", " font-weight: ligher;\n",
" font-style: normal;\n", " font-style: normal;\n",
" width: 100%;\n", " /* font-size: 20pt; */\n",
" text-align: left;\n", " width: 100%;\n",
" color: #EE7631;\n", " text-align: left;\n",
" border-bottom: 1px solid #EE7631;\n", " color: #EE7631;\n",
" /* padding: 5px; */\n", " border-bottom: 1px solid rgba(238, 118, 49, 0.575);\n",
" /* font-variant: small-caps; */\n", " padding-bottom: 6px;\n",
" /* font-variant: small-caps; */\n",
" }\n", " }\n",
" \n", " \n",
" /* table {\n", " /* table {\n",
@ -123,14 +83,14 @@
"\n", "\n",
"/* HEADING 2 styles */\n", "/* HEADING 2 styles */\n",
"h2 {\n", "h2 {\n",
" font-family: Roboto;\n", " font-family: \"Roboto\";\n",
" text-align: left;\n", " text-align: left;\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" margin-bottom: 5px;\n", " margin-bottom: 5px;\n",
" /* border-bottom: 1px solid lightgray; */\n", " /* border-bottom: 1px solid lightgray; */\n",
" border-bottom: 0.5px solid #EE7631;\n", " border-bottom: 0.8px solid rgba(238, 118, 49, 0.575);\n",
" padding: 5px\n", " padding-bottom: 6px\n",
" }\n", " }\n",
" \n", " \n",
" /* table {\n", " /* table {\n",
@ -159,13 +119,13 @@
" } */\n", " } */\n",
"\n", "\n",
"h3 {\n", "h3 {\n",
" font-family: Roboto;\n", " font-family: 'Roboto';\n",
" /* text-align: left;\n", " /* text-align: left; */\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " /* color: #EE7631; */\n",
" margin-bottom: 5px;\n", " /* margin-bottom: 5px; */\n",
" border-bottom: 0.5px solid #EE7631;\n", " border-bottom: 0.5px solid #ededed;\n",
" padding: 5px */\n", " padding-bottom: 6px\n",
" }\n", " }\n",
"\n", "\n",
"\n", "\n",
@ -199,17 +159,37 @@
"}\n", "}\n",
"\n", "\n",
"\n", "\n",
"/* Line numbers in code cells */\n", "/* Change global font size (for code) */\n",
".cm-s-ipython .CodeMirror-linenumber {\n", ".CodeMirror {\n",
" color: #8d8d8d8d;\n", "font-size: 16px !important;\n",
"font-family: monospace;\n",
"}\n",
"\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n",
" /* font-size: 11pt; */\n",
" background: #ededed;\n",
" color: #303030; \n",
" border-radius: 2px;\n",
" /* margin-right: 10px; */\n",
" font-style: normal;\n",
" font-weight: normal;\n",
"}\n",
"\n",
"\n",
"/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n",
" /* font-size: 11pt; */\n",
" background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n",
" border-radius: 2px;\n",
" font-style: normal;\n",
" font-weight: normal;\n",
"}\n", "}\n",
"\n", "\n",
"/* .cm-s-ipython .CodeMirror-gutters {\n",
" background: #e0e1e3;\n",
" border: none;\n",
" border-radius: 0px;\n",
" width: 36px;\n",
"} */\n",
"\n", "\n",
"/* .CodeMirror-gutters {\n", "/* .CodeMirror-gutters {\n",
" border: none;\n", " border: none;\n",
@ -222,17 +202,13 @@
"\n", "\n",
"\n", "\n",
"\n", "\n",
"\n",
"\n",
"\n",
"\n",
"/* Code syntax highlithig theme */\n", "/* Code syntax highlithig theme */\n",
".cm-s-ipython .CodeMirror-cursor {\n", ".cm-s-ipython .CodeMirror-cursor {\n",
" border-left: 2px solid #ff711a !important;\n", " border-left: 2px solid #ff711a !important;\n",
"}\n", "}\n",
".cm-s-ipython span.cm-comment {\n", ".cm-s-ipython span.cm-comment {\n",
" color: #8d8d8d;\n", " color: #8d8d8d;\n",
" font-style: italic;\n", " font-style: italic; \n",
"}\n", "}\n",
".cm-s-ipython span.cm-atom {\n", ".cm-s-ipython span.cm-atom {\n",
" color: #055be0;\n", " color: #055be0;\n",
@ -299,7 +275,7 @@
"<IPython.core.display.HTML object>" "<IPython.core.display.HTML object>"
] ]
}, },
"execution_count": 23, "execution_count": 1,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -316,7 +292,7 @@
}, },
"source": [ "source": [
"\n", "\n",
"# Session 3 - Functions\n", "# 3. - Functions\n",
"A **function** is a block of code that is first defined, and thereafter can be called to run as many times as needed. A function might have arguments, some of which can be optional if a default value is specified.\n", "A **function** is a block of code that is first defined, and thereafter can be called to run as many times as needed. A function might have arguments, some of which can be optional if a default value is specified.\n",
"\n", "\n",
"A function is called by parentheses: `function_name()`. Arguments are placed inside the parentehes and comma separated if there are more than one.\n", "A function is called by parentheses: `function_name()`. Arguments are placed inside the parentehes and comma separated if there are more than one.\n",
@ -358,7 +334,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 24, "execution_count": 2,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -377,7 +353,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 25, "execution_count": 3,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -386,7 +362,7 @@
"36.25" "36.25"
] ]
}, },
"execution_count": 25, "execution_count": 3,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -404,7 +380,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 31, "execution_count": 4,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -436,7 +412,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 32, "execution_count": 5,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -481,7 +457,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 33, "execution_count": 6,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -507,7 +483,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 34, "execution_count": 7,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -539,7 +515,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 36, "execution_count": 8,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -577,7 +553,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 9,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -613,7 +589,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 37, "execution_count": 10,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -643,7 +619,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 39, "execution_count": 11,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -874,6 +850,7 @@
} }
], ],
"metadata": { "metadata": {
"hide_input": false,
"kernelspec": { "kernelspec": {
"display_name": "Python 3", "display_name": "Python 3",
"language": "python", "language": "python",
@ -889,7 +866,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.7.5" "version": "3.7.1"
}, },
"latex_envs": { "latex_envs": {
"LaTeX_envs_menu_present": true, "LaTeX_envs_menu_present": true,

File diff suppressed because one or more lines are too long

View File

@ -21,12 +21,12 @@
"body,\n", "body,\n",
"div.body {\n", "div.body {\n",
" font-family: Roboto;\n", " font-family: Roboto;\n",
" font-size: 16pt;\n", " /* font-size: 16pt; */\n",
" color: #303030;\n", " color: #303030;\n",
" /* background-color: #d1b5b5; */\n", " /* background-color: #d1b5b5; */\n",
" /* background: #8f4f4f; */\n", " /* background: #8f4f4f; */\n",
" margin-right: 10px;\n", " margin-right: 10px;\n",
" -webkit-font-smoothing: antialiased !important;\n", " /* -webkit-font-smoothing: antialiased !important; */\n",
"}\n", "}\n",
"\n", "\n",
"/* Code inside HTML/Markdown */\n", "/* Code inside HTML/Markdown */\n",
@ -36,7 +36,7 @@
"\n", "\n",
"/* Output area from code cells */\n", "/* Output area from code cells */\n",
"div.output_area pre {\n", "div.output_area pre {\n",
" font-size: 11pt !important;\n", " /* font-size: 11pt !important; */\n",
" color: #303030;\n", " color: #303030;\n",
"}\n", "}\n",
"\n", "\n",
@ -47,7 +47,7 @@
" font-family: 'Roboto', 'Signika', sans-serif;\n", " font-family: 'Roboto', 'Signika', sans-serif;\n",
" font-weight: ligher;\n", " font-weight: ligher;\n",
" font-style: normal;\n", " font-style: normal;\n",
" font-size: 20pt;\n", " /* font-size: 20pt; */\n",
" width: 100%;\n", " width: 100%;\n",
" text-align: left;\n", " text-align: left;\n",
" color: #EE7631;\n", " color: #EE7631;\n",
@ -85,7 +85,7 @@
"h2 {\n", "h2 {\n",
" font-family: \"Roboto\";\n", " font-family: \"Roboto\";\n",
" text-align: left;\n", " text-align: left;\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" margin-bottom: 5px;\n", " margin-bottom: 5px;\n",
" /* border-bottom: 1px solid lightgray; */\n", " /* border-bottom: 1px solid lightgray; */\n",
@ -159,10 +159,17 @@
"}\n", "}\n",
"\n", "\n",
"\n", "\n",
"/* Change global font size (for code) */\n",
".CodeMirror {\n",
"font-size: 16px !important;\n",
"font-family: monospace;\n",
"}\n",
"\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n", "/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: #ededed;\n", " background: #ededed;\n",
" color: #303030; \n", " color: #303030; \n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -175,7 +182,7 @@
"/* Background of code cells */\n", "/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: rgba(211, 211, 211, 0.123);\n", " background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n", " color: #303030;\n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -262,9 +269,6 @@
".cm-s-ipython span.cm-quote {\n", ".cm-s-ipython span.cm-quote {\n",
" color: #009e07;\n", " color: #009e07;\n",
"}\n", "}\n",
"\n",
"\n",
"\n",
"</style>" "</style>"
], ],
"text/plain": [ "text/plain": [
@ -307,7 +311,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 2,
"metadata": { "metadata": {
"cell_style": "center" "cell_style": "center"
}, },
@ -333,7 +337,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 3,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -372,7 +376,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": null, "execution_count": 4,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -390,7 +394,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 3, "execution_count": 5,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -434,7 +438,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 4, "execution_count": 6,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -468,7 +472,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 5, "execution_count": 7,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -529,7 +533,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 8,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -554,7 +558,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 9,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -589,7 +593,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 10,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -633,7 +637,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 9, "execution_count": 11,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -711,7 +715,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 10, "execution_count": 12,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -783,7 +787,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 12, "execution_count": 13,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -801,7 +805,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 13, "execution_count": 14,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -821,7 +825,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 13, "execution_count": 15,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -845,7 +849,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 16,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -869,7 +873,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 14, "execution_count": 17,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -896,7 +900,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 15, "execution_count": 18,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -935,7 +939,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 17, "execution_count": 19,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -945,7 +949,7 @@
" 0.55555556, 0.66666667, 0.77777778, 0.88888889, 1. ])" " 0.55555556, 0.66666667, 0.77777778, 0.88888889, 1. ])"
] ]
}, },
"execution_count": 17, "execution_count": 19,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1093,7 +1097,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.7.5" "version": "3.7.1"
}, },
"latex_envs": { "latex_envs": {
"LaTeX_envs_menu_present": true, "LaTeX_envs_menu_present": true,

View File

@ -2,7 +2,7 @@
"cells": [ "cells": [
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 1,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -21,12 +21,12 @@
"body,\n", "body,\n",
"div.body {\n", "div.body {\n",
" font-family: Roboto;\n", " font-family: Roboto;\n",
" font-size: 16pt;\n", " /* font-size: 16pt; */\n",
" color: #303030;\n", " color: #303030;\n",
" /* background-color: #d1b5b5; */\n", " /* background-color: #d1b5b5; */\n",
" /* background: #8f4f4f; */\n", " /* background: #8f4f4f; */\n",
" margin-right: 10px;\n", " margin-right: 10px;\n",
" -webkit-font-smoothing: antialiased !important;\n", " /* -webkit-font-smoothing: antialiased !important; */\n",
"}\n", "}\n",
"\n", "\n",
"/* Code inside HTML/Markdown */\n", "/* Code inside HTML/Markdown */\n",
@ -36,7 +36,7 @@
"\n", "\n",
"/* Output area from code cells */\n", "/* Output area from code cells */\n",
"div.output_area pre {\n", "div.output_area pre {\n",
" font-size: 11pt !important;\n", " /* font-size: 11pt !important; */\n",
" color: #303030;\n", " color: #303030;\n",
"}\n", "}\n",
"\n", "\n",
@ -47,7 +47,7 @@
" font-family: 'Roboto', 'Signika', sans-serif;\n", " font-family: 'Roboto', 'Signika', sans-serif;\n",
" font-weight: ligher;\n", " font-weight: ligher;\n",
" font-style: normal;\n", " font-style: normal;\n",
" font-size: 20pt;\n", " /* font-size: 20pt; */\n",
" width: 100%;\n", " width: 100%;\n",
" text-align: left;\n", " text-align: left;\n",
" color: #EE7631;\n", " color: #EE7631;\n",
@ -85,7 +85,7 @@
"h2 {\n", "h2 {\n",
" font-family: \"Roboto\";\n", " font-family: \"Roboto\";\n",
" text-align: left;\n", " text-align: left;\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" margin-bottom: 5px;\n", " margin-bottom: 5px;\n",
" /* border-bottom: 1px solid lightgray; */\n", " /* border-bottom: 1px solid lightgray; */\n",
@ -159,10 +159,17 @@
"}\n", "}\n",
"\n", "\n",
"\n", "\n",
"/* Change global font size (for code) */\n",
".CodeMirror {\n",
"font-size: 16px !important;\n",
"font-family: monospace;\n",
"}\n",
"\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n", "/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: #ededed;\n", " background: #ededed;\n",
" color: #303030; \n", " color: #303030; \n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -175,7 +182,7 @@
"/* Background of code cells */\n", "/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: rgba(211, 211, 211, 0.123);\n", " background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n", " color: #303030;\n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -262,16 +269,13 @@
".cm-s-ipython span.cm-quote {\n", ".cm-s-ipython span.cm-quote {\n",
" color: #009e07;\n", " color: #009e07;\n",
"}\n", "}\n",
"\n",
"\n",
"\n",
"</style>" "</style>"
], ],
"text/plain": [ "text/plain": [
"<IPython.core.display.HTML object>" "<IPython.core.display.HTML object>"
] ]
}, },
"execution_count": 2, "execution_count": 1,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -285,7 +289,7 @@
"cell_type": "markdown", "cell_type": "markdown",
"metadata": {}, "metadata": {},
"source": [ "source": [
"# Pandas Dataframes\n", "# 5. Pandas DataFrames\n",
"Python is very good for data analysis. Much of this is thanks to the `pandas` library, which contains a wealth of powerful functions and methods to load and manipulate data.\n", "Python is very good for data analysis. Much of this is thanks to the `pandas` library, which contains a wealth of powerful functions and methods to load and manipulate data.\n",
"\n", "\n",
"In the `pandas` environment what we normally refer to as a table is called a **DataFrame**. If the data has only a single column, it is called a **Series**. These are the core objects in the library.\n", "In the `pandas` environment what we normally refer to as a table is called a **DataFrame**. If the data has only a single column, it is called a **Series**. These are the core objects in the library.\n",
@ -295,7 +299,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 6, "execution_count": 2,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [],
"source": [ "source": [
@ -312,7 +316,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 7, "execution_count": 3,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -371,7 +375,7 @@
"2 13 23 33" "2 13 23 33"
] ]
}, },
"execution_count": 7, "execution_count": 3,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -396,7 +400,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 8, "execution_count": 4,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -425,7 +429,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 16, "execution_count": 5,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -484,7 +488,7 @@
"2 120 314 0.382166" "2 120 314 0.382166"
] ]
}, },
"execution_count": 16, "execution_count": 5,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -517,7 +521,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 19, "execution_count": 6,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -554,19 +558,19 @@
" </thead>\n", " </thead>\n",
" <tbody>\n", " <tbody>\n",
" <tr>\n", " <tr>\n",
" <th>2</th>\n", " <th>1</th>\n",
" <td>85</td>\n", " <td>85</td>\n",
" <td>314</td>\n", " <td>314</td>\n",
" <td>0.270701</td>\n", " <td>0.270701</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>3</th>\n", " <th>2</th>\n",
" <td>56</td>\n", " <td>56</td>\n",
" <td>314</td>\n", " <td>314</td>\n",
" <td>0.178344</td>\n", " <td>0.178344</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>4</th>\n", " <th>3</th>\n",
" <td>120</td>\n", " <td>120</td>\n",
" <td>314</td>\n", " <td>314</td>\n",
" <td>0.382166</td>\n", " <td>0.382166</td>\n",
@ -578,12 +582,12 @@
"text/plain": [ "text/plain": [
" N [kN] A [mm2] sigma_n [GPa]\n", " N [kN] A [mm2] sigma_n [GPa]\n",
"Load Case \n", "Load Case \n",
"2 85 314 0.270701\n", "1 85 314 0.270701\n",
"3 56 314 0.178344\n", "2 56 314 0.178344\n",
"4 120 314 0.382166" "3 120 314 0.382166"
] ]
}, },
"execution_count": 19, "execution_count": 6,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -608,7 +612,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 21, "execution_count": 7,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -641,15 +645,15 @@
" </thead>\n", " </thead>\n",
" <tbody>\n", " <tbody>\n",
" <tr>\n", " <tr>\n",
" <th>2</th>\n", " <th>1</th>\n",
" <td>0.270701</td>\n", " <td>0.270701</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>3</th>\n", " <th>2</th>\n",
" <td>0.178344</td>\n", " <td>0.178344</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>4</th>\n", " <th>3</th>\n",
" <td>0.382166</td>\n", " <td>0.382166</td>\n",
" </tr>\n", " </tr>\n",
" </tbody>\n", " </tbody>\n",
@ -659,12 +663,12 @@
"text/plain": [ "text/plain": [
" sigma_n [GPa]\n", " sigma_n [GPa]\n",
"Load Case \n", "Load Case \n",
"2 0.270701\n", "1 0.270701\n",
"3 0.178344\n", "2 0.178344\n",
"4 0.382166" "3 0.382166"
] ]
}, },
"execution_count": 21, "execution_count": 7,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -683,20 +687,20 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 22, "execution_count": 8,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"Load Case\n", "Load Case\n",
"2 0.270701\n", "1 0.270701\n",
"3 0.178344\n", "2 0.178344\n",
"4 0.382166\n", "3 0.382166\n",
"Name: sigma_n [GPa], dtype: float64" "Name: sigma_n [GPa], dtype: float64"
] ]
}, },
"execution_count": 22, "execution_count": 8,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -717,7 +721,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 23, "execution_count": 9,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -752,17 +756,17 @@
" </thead>\n", " </thead>\n",
" <tbody>\n", " <tbody>\n",
" <tr>\n", " <tr>\n",
" <th>2</th>\n", " <th>1</th>\n",
" <td>85</td>\n", " <td>85</td>\n",
" <td>0.270701</td>\n", " <td>0.270701</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>3</th>\n", " <th>2</th>\n",
" <td>56</td>\n", " <td>56</td>\n",
" <td>0.178344</td>\n", " <td>0.178344</td>\n",
" </tr>\n", " </tr>\n",
" <tr>\n", " <tr>\n",
" <th>4</th>\n", " <th>3</th>\n",
" <td>120</td>\n", " <td>120</td>\n",
" <td>0.382166</td>\n", " <td>0.382166</td>\n",
" </tr>\n", " </tr>\n",
@ -773,12 +777,12 @@
"text/plain": [ "text/plain": [
" N [kN] sigma_n [GPa]\n", " N [kN] sigma_n [GPa]\n",
"Load Case \n", "Load Case \n",
"2 85 0.270701\n", "1 85 0.270701\n",
"3 56 0.178344\n", "2 56 0.178344\n",
"4 120 0.382166" "3 120 0.382166"
] ]
}, },
"execution_count": 23, "execution_count": 9,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -837,7 +841,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 25, "execution_count": 10,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -988,7 +992,7 @@
"10 HE300A 290 300 182600000 1260.0 88.3" "10 HE300A 290 300 182600000 1260.0 88.3"
] ]
}, },
"execution_count": 25, "execution_count": 10,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1011,7 +1015,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 26, "execution_count": 11,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1112,7 +1116,7 @@
"10 HE300A 290 300 182600000 1260.0 88.3" "10 HE300A 290 300 182600000 1260.0 88.3"
] ]
}, },
"execution_count": 26, "execution_count": 11,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1138,7 +1142,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 11, "execution_count": 12,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1158,7 +1162,7 @@
"Name: Iy[mm4], dtype: bool" "Name: Iy[mm4], dtype: bool"
] ]
}, },
"execution_count": 11, "execution_count": 12,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1182,7 +1186,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 12, "execution_count": 13,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1263,7 +1267,7 @@
"8 HE260A 250 260 104500000 836.0 68.2" "8 HE260A 250 260 104500000 836.0 68.2"
] ]
}, },
"execution_count": 12, "execution_count": 13,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1288,7 +1292,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 28, "execution_count": 14,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1359,7 +1363,7 @@
"9 HE280A 270 280 136700000 1010.0 76.4" "9 HE280A 270 280 136700000 1010.0 76.4"
] ]
}, },
"execution_count": 28, "execution_count": 14,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1383,7 +1387,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 29, "execution_count": 15,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1454,7 +1458,7 @@
"10 HE300A 290 300 182600000 1260.0 88.3" "10 HE300A 290 300 182600000 1260.0 88.3"
] ]
}, },
"execution_count": 29, "execution_count": 15,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1495,7 +1499,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 30, "execution_count": 16,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1580,7 +1584,7 @@
"7 Pear 6" "7 Pear 6"
] ]
}, },
"execution_count": 30, "execution_count": 16,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1602,16 +1606,16 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 71, "execution_count": 17,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
"data": { "data": {
"text/plain": [ "text/plain": [
"<pandas.core.groupby.generic.DataFrameGroupBy object at 0x000001B716413978>" "<pandas.core.groupby.generic.DataFrameGroupBy object at 0x0000029DB8AC6CF8>"
] ]
}, },
"execution_count": 71, "execution_count": 17,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -1632,7 +1636,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 17, "execution_count": 18,
"metadata": {}, "metadata": {},
"outputs": [ "outputs": [
{ {
@ -1693,7 +1697,7 @@
"Pear 9" "Pear 9"
] ]
}, },
"execution_count": 17, "execution_count": 18,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }

File diff suppressed because one or more lines are too long

View File

@ -21,12 +21,12 @@
"body,\n", "body,\n",
"div.body {\n", "div.body {\n",
" font-family: Roboto;\n", " font-family: Roboto;\n",
" font-size: 16pt;\n", " /* font-size: 16pt; */\n",
" color: #303030;\n", " color: #303030;\n",
" /* background-color: #d1b5b5; */\n", " /* background-color: #d1b5b5; */\n",
" /* background: #8f4f4f; */\n", " /* background: #8f4f4f; */\n",
" margin-right: 10px;\n", " margin-right: 10px;\n",
" -webkit-font-smoothing: antialiased !important;\n", " /* -webkit-font-smoothing: antialiased !important; */\n",
"}\n", "}\n",
"\n", "\n",
"/* Code inside HTML/Markdown */\n", "/* Code inside HTML/Markdown */\n",
@ -36,7 +36,7 @@
"\n", "\n",
"/* Output area from code cells */\n", "/* Output area from code cells */\n",
"div.output_area pre {\n", "div.output_area pre {\n",
" font-size: 11pt !important;\n", " /* font-size: 11pt !important; */\n",
" color: #303030;\n", " color: #303030;\n",
"}\n", "}\n",
"\n", "\n",
@ -47,7 +47,7 @@
" font-family: 'Roboto', 'Signika', sans-serif;\n", " font-family: 'Roboto', 'Signika', sans-serif;\n",
" font-weight: ligher;\n", " font-weight: ligher;\n",
" font-style: normal;\n", " font-style: normal;\n",
" font-size: 20pt;\n", " /* font-size: 20pt; */\n",
" width: 100%;\n", " width: 100%;\n",
" text-align: left;\n", " text-align: left;\n",
" color: #EE7631;\n", " color: #EE7631;\n",
@ -85,7 +85,7 @@
"h2 {\n", "h2 {\n",
" font-family: \"Roboto\";\n", " font-family: \"Roboto\";\n",
" text-align: left;\n", " text-align: left;\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" margin-bottom: 5px;\n", " margin-bottom: 5px;\n",
" /* border-bottom: 1px solid lightgray; */\n", " /* border-bottom: 1px solid lightgray; */\n",
@ -159,10 +159,17 @@
"}\n", "}\n",
"\n", "\n",
"\n", "\n",
"/* Change global font size (for code) */\n",
".CodeMirror {\n",
"font-size: 16px !important;\n",
"font-family: monospace;\n",
"}\n",
"\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n", "/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: #ededed;\n", " background: #ededed;\n",
" color: #303030; \n", " color: #303030; \n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -175,7 +182,7 @@
"/* Background of code cells */\n", "/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: rgba(211, 211, 211, 0.123);\n", " background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n", " color: #303030;\n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -262,9 +269,6 @@
".cm-s-ipython span.cm-quote {\n", ".cm-s-ipython span.cm-quote {\n",
" color: #009e07;\n", " color: #009e07;\n",
"}\n", "}\n",
"\n",
"\n",
"\n",
"</style>" "</style>"
], ],
"text/plain": [ "text/plain": [
@ -466,13 +470,6 @@
"~~~\n", "~~~\n",
"---" "---"
] ]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
} }
], ],
"metadata": { "metadata": {
@ -492,7 +489,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.7.5" "version": "3.7.1"
}, },
"latex_envs": { "latex_envs": {
"LaTeX_envs_menu_present": true, "LaTeX_envs_menu_present": true,

View File

@ -21,12 +21,12 @@
"body,\n", "body,\n",
"div.body {\n", "div.body {\n",
" font-family: Roboto;\n", " font-family: Roboto;\n",
" font-size: 16pt;\n", " /* font-size: 16pt; */\n",
" color: #303030;\n", " color: #303030;\n",
" /* background-color: #d1b5b5; */\n", " /* background-color: #d1b5b5; */\n",
" /* background: #8f4f4f; */\n", " /* background: #8f4f4f; */\n",
" margin-right: 10px;\n", " margin-right: 10px;\n",
" -webkit-font-smoothing: antialiased !important;\n", " /* -webkit-font-smoothing: antialiased !important; */\n",
"}\n", "}\n",
"\n", "\n",
"/* Code inside HTML/Markdown */\n", "/* Code inside HTML/Markdown */\n",
@ -36,7 +36,7 @@
"\n", "\n",
"/* Output area from code cells */\n", "/* Output area from code cells */\n",
"div.output_area pre {\n", "div.output_area pre {\n",
" font-size: 11pt !important;\n", " /* font-size: 11pt !important; */\n",
" color: #303030;\n", " color: #303030;\n",
"}\n", "}\n",
"\n", "\n",
@ -47,7 +47,7 @@
" font-family: 'Roboto', 'Signika', sans-serif;\n", " font-family: 'Roboto', 'Signika', sans-serif;\n",
" font-weight: ligher;\n", " font-weight: ligher;\n",
" font-style: normal;\n", " font-style: normal;\n",
" font-size: 20pt;\n", " /* font-size: 20pt; */\n",
" width: 100%;\n", " width: 100%;\n",
" text-align: left;\n", " text-align: left;\n",
" color: #EE7631;\n", " color: #EE7631;\n",
@ -85,7 +85,7 @@
"h2 {\n", "h2 {\n",
" font-family: \"Roboto\";\n", " font-family: \"Roboto\";\n",
" text-align: left;\n", " text-align: left;\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" margin-bottom: 5px;\n", " margin-bottom: 5px;\n",
" /* border-bottom: 1px solid lightgray; */\n", " /* border-bottom: 1px solid lightgray; */\n",
@ -159,10 +159,17 @@
"}\n", "}\n",
"\n", "\n",
"\n", "\n",
"/* Change global font size (for code) */\n",
".CodeMirror {\n",
"font-size: 16px !important;\n",
"font-family: monospace;\n",
"}\n",
"\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n", "/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: #ededed;\n", " background: #ededed;\n",
" color: #303030; \n", " color: #303030; \n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -175,7 +182,7 @@
"/* Background of code cells */\n", "/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: rgba(211, 211, 211, 0.123);\n", " background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n", " color: #303030;\n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -262,9 +269,6 @@
".cm-s-ipython span.cm-quote {\n", ".cm-s-ipython span.cm-quote {\n",
" color: #009e07;\n", " color: #009e07;\n",
"}\n", "}\n",
"\n",
"\n",
"\n",
"</style>" "</style>"
], ],
"text/plain": [ "text/plain": [
@ -290,7 +294,7 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 1, "execution_count": 2,
"metadata": { "metadata": {
"code_folding": [] "code_folding": []
}, },
@ -377,7 +381,7 @@
"4 4031 Shear keys - BS - 2553/2554 20105 201 0.64" "4 4031 Shear keys - BS - 2553/2554 20105 201 0.64"
] ]
}, },
"execution_count": 1, "execution_count": 2,
"metadata": {}, "metadata": {},
"output_type": "execute_result" "output_type": "execute_result"
} }
@ -419,9 +423,28 @@
}, },
{ {
"cell_type": "code", "cell_type": "code",
"execution_count": 2, "execution_count": 3,
"metadata": {}, "metadata": {},
"outputs": [], "outputs": [
{
"ename": "FileNotFoundError",
"evalue": "[Errno 2] No such file or directory: 'Plots/v20/BS101_4031.png'",
"output_type": "error",
"traceback": [
"\u001b[1;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[1;31mFileNotFoundError\u001b[0m Traceback (most recent call last)",
"\u001b[1;32m<ipython-input-3-d22c1bcd002b>\u001b[0m in \u001b[0;36m<module>\u001b[1;34m\u001b[0m\n\u001b[0;32m 51\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 52\u001b[0m \u001b[1;31m# Save figure to png-file with meaningful name that varies in every loop\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m---> 53\u001b[1;33m \u001b[0mplt\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msavefig\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34mf'Plots/{version_number}/{shear_key}_{lc}.png'\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m",
"\u001b[1;32m~\\Miniconda3\\lib\\site-packages\\matplotlib\\pyplot.py\u001b[0m in \u001b[0;36msavefig\u001b[1;34m(*args, **kwargs)\u001b[0m\n\u001b[0;32m 687\u001b[0m \u001b[1;32mdef\u001b[0m \u001b[0msavefig\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m*\u001b[0m\u001b[0margs\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;33m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 688\u001b[0m \u001b[0mfig\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mgcf\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 689\u001b[1;33m \u001b[0mres\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mfig\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0msavefig\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m*\u001b[0m\u001b[0margs\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;33m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 690\u001b[0m \u001b[0mfig\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mcanvas\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mdraw_idle\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;33m)\u001b[0m \u001b[1;31m# need this if 'transparent=True' to reset colors\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 691\u001b[0m \u001b[1;32mreturn\u001b[0m \u001b[0mres\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Miniconda3\\lib\\site-packages\\matplotlib\\figure.py\u001b[0m in \u001b[0;36msavefig\u001b[1;34m(self, fname, frameon, transparent, **kwargs)\u001b[0m\n\u001b[0;32m 2092\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mset_frameon\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mframeon\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 2093\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 2094\u001b[1;33m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mcanvas\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mprint_figure\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mfname\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;33m**\u001b[0m\u001b[0mkwargs\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 2095\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 2096\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0mframeon\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Miniconda3\\lib\\site-packages\\matplotlib\\backend_bases.py\u001b[0m in \u001b[0;36mprint_figure\u001b[1;34m(self, filename, dpi, facecolor, edgecolor, orientation, format, bbox_inches, **kwargs)\u001b[0m\n\u001b[0;32m 2073\u001b[0m \u001b[0morientation\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0morientation\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 2074\u001b[0m \u001b[0mbbox_inches_restore\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0m_bbox_inches_restore\u001b[0m\u001b[1;33m,\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m-> 2075\u001b[1;33m **kwargs)\n\u001b[0m\u001b[0;32m 2076\u001b[0m \u001b[1;32mfinally\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 2077\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0mbbox_inches\u001b[0m \u001b[1;32mand\u001b[0m \u001b[0mrestore_bbox\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Miniconda3\\lib\\site-packages\\matplotlib\\backends\\backend_agg.py\u001b[0m in \u001b[0;36mprint_png\u001b[1;34m(self, filename_or_obj, *args, **kwargs)\u001b[0m\n\u001b[0;32m 519\u001b[0m \u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 520\u001b[0m \u001b[1;32mwith\u001b[0m \u001b[0mcbook\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0m_setattr_cm\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mrenderer\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mdpi\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mfigure\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mdpi\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m,\u001b[0m\u001b[0;31m \u001b[0m\u001b[0;31m\\\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 521\u001b[1;33m \u001b[0mcbook\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mopen_file_cm\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mfilename_or_obj\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;34m\"wb\"\u001b[0m\u001b[1;33m)\u001b[0m \u001b[1;32mas\u001b[0m \u001b[0mfh\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 522\u001b[0m _png.write_png(renderer._renderer, fh,\n\u001b[0;32m 523\u001b[0m self.figure.dpi, metadata=metadata)\n",
"\u001b[1;32m~\\Miniconda3\\lib\\contextlib.py\u001b[0m in \u001b[0;36m__enter__\u001b[1;34m(self)\u001b[0m\n\u001b[0;32m 110\u001b[0m \u001b[1;32mdel\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0margs\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mkwds\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mfunc\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 111\u001b[0m \u001b[1;32mtry\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 112\u001b[1;33m \u001b[1;32mreturn\u001b[0m \u001b[0mnext\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mself\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mgen\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 113\u001b[0m \u001b[1;32mexcept\u001b[0m \u001b[0mStopIteration\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 114\u001b[0m \u001b[1;32mraise\u001b[0m \u001b[0mRuntimeError\u001b[0m\u001b[1;33m(\u001b[0m\u001b[1;34m\"generator didn't yield\"\u001b[0m\u001b[1;33m)\u001b[0m \u001b[1;32mfrom\u001b[0m \u001b[1;32mNone\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Miniconda3\\lib\\site-packages\\matplotlib\\cbook\\__init__.py\u001b[0m in \u001b[0;36mopen_file_cm\u001b[1;34m(path_or_file, mode, encoding)\u001b[0m\n\u001b[0;32m 405\u001b[0m \u001b[1;32mdef\u001b[0m \u001b[0mopen_file_cm\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mpath_or_file\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mmode\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;34m\"r\"\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mencoding\u001b[0m\u001b[1;33m=\u001b[0m\u001b[1;32mNone\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 406\u001b[0m \u001b[1;34mr\"\"\"Pass through file objects and context-manage `.PathLike`\\s.\"\"\"\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 407\u001b[1;33m \u001b[0mfh\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mopened\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mto_filehandle\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mpath_or_file\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mmode\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;32mTrue\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mencoding\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 408\u001b[0m \u001b[1;32mif\u001b[0m \u001b[0mopened\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 409\u001b[0m \u001b[1;32mwith\u001b[0m \u001b[0mfh\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;32m~\\Miniconda3\\lib\\site-packages\\matplotlib\\cbook\\__init__.py\u001b[0m in \u001b[0;36mto_filehandle\u001b[1;34m(fname, flag, return_opened, encoding)\u001b[0m\n\u001b[0;32m 390\u001b[0m \u001b[0mfh\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mbz2\u001b[0m\u001b[1;33m.\u001b[0m\u001b[0mBZ2File\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mfname\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mflag\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 391\u001b[0m \u001b[1;32melse\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[1;32m--> 392\u001b[1;33m \u001b[0mfh\u001b[0m \u001b[1;33m=\u001b[0m \u001b[0mopen\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mfname\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mflag\u001b[0m\u001b[1;33m,\u001b[0m \u001b[0mencoding\u001b[0m\u001b[1;33m=\u001b[0m\u001b[0mencoding\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0m\u001b[0;32m 393\u001b[0m \u001b[0mopened\u001b[0m \u001b[1;33m=\u001b[0m \u001b[1;32mTrue\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n\u001b[0;32m 394\u001b[0m \u001b[1;32melif\u001b[0m \u001b[0mhasattr\u001b[0m\u001b[1;33m(\u001b[0m\u001b[0mfname\u001b[0m\u001b[1;33m,\u001b[0m \u001b[1;34m'seek'\u001b[0m\u001b[1;33m)\u001b[0m\u001b[1;33m:\u001b[0m\u001b[1;33m\u001b[0m\u001b[1;33m\u001b[0m\u001b[0m\n",
"\u001b[1;31mFileNotFoundError\u001b[0m: [Errno 2] No such file or directory: 'Plots/v20/BS101_4031.png'"
]
}
],
"source": [ "source": [
"%%capture\n", "%%capture\n",
"# %%capture prevent plots from showing as cell output\n", "# %%capture prevent plots from showing as cell output\n",

View File

@ -21,12 +21,12 @@
"body,\n", "body,\n",
"div.body {\n", "div.body {\n",
" font-family: Roboto;\n", " font-family: Roboto;\n",
" font-size: 16pt;\n", " /* font-size: 16pt; */\n",
" color: #303030;\n", " color: #303030;\n",
" /* background-color: #d1b5b5; */\n", " /* background-color: #d1b5b5; */\n",
" /* background: #8f4f4f; */\n", " /* background: #8f4f4f; */\n",
" margin-right: 10px;\n", " margin-right: 10px;\n",
" -webkit-font-smoothing: antialiased !important;\n", " /* -webkit-font-smoothing: antialiased !important; */\n",
"}\n", "}\n",
"\n", "\n",
"/* Code inside HTML/Markdown */\n", "/* Code inside HTML/Markdown */\n",
@ -36,7 +36,7 @@
"\n", "\n",
"/* Output area from code cells */\n", "/* Output area from code cells */\n",
"div.output_area pre {\n", "div.output_area pre {\n",
" font-size: 11pt !important;\n", " /* font-size: 11pt !important; */\n",
" color: #303030;\n", " color: #303030;\n",
"}\n", "}\n",
"\n", "\n",
@ -47,7 +47,7 @@
" font-family: 'Roboto', 'Signika', sans-serif;\n", " font-family: 'Roboto', 'Signika', sans-serif;\n",
" font-weight: ligher;\n", " font-weight: ligher;\n",
" font-style: normal;\n", " font-style: normal;\n",
" font-size: 20pt;\n", " /* font-size: 20pt; */\n",
" width: 100%;\n", " width: 100%;\n",
" text-align: left;\n", " text-align: left;\n",
" color: #EE7631;\n", " color: #EE7631;\n",
@ -85,7 +85,7 @@
"h2 {\n", "h2 {\n",
" font-family: \"Roboto\";\n", " font-family: \"Roboto\";\n",
" text-align: left;\n", " text-align: left;\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" margin-bottom: 5px;\n", " margin-bottom: 5px;\n",
" /* border-bottom: 1px solid lightgray; */\n", " /* border-bottom: 1px solid lightgray; */\n",
@ -159,10 +159,17 @@
"}\n", "}\n",
"\n", "\n",
"\n", "\n",
"/* Change global font size (for code) */\n",
".CodeMirror {\n",
"font-size: 16px !important;\n",
"font-family: monospace;\n",
"}\n",
"\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n", "/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: #ededed;\n", " background: #ededed;\n",
" color: #303030; \n", " color: #303030; \n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -175,7 +182,7 @@
"/* Background of code cells */\n", "/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: rgba(211, 211, 211, 0.123);\n", " background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n", " color: #303030;\n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -262,9 +269,6 @@
".cm-s-ipython span.cm-quote {\n", ".cm-s-ipython span.cm-quote {\n",
" color: #009e07;\n", " color: #009e07;\n",
"}\n", "}\n",
"\n",
"\n",
"\n",
"</style>" "</style>"
], ],
"text/plain": [ "text/plain": [
@ -790,7 +794,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.7.5" "version": "3.7.1"
}, },
"latex_envs": { "latex_envs": {
"LaTeX_envs_menu_present": true, "LaTeX_envs_menu_present": true,

File diff suppressed because one or more lines are too long

View File

@ -21,12 +21,12 @@
"body,\n", "body,\n",
"div.body {\n", "div.body {\n",
" font-family: Roboto;\n", " font-family: Roboto;\n",
" font-size: 16pt;\n", " /* font-size: 16pt; */\n",
" color: #303030;\n", " color: #303030;\n",
" /* background-color: #d1b5b5; */\n", " /* background-color: #d1b5b5; */\n",
" /* background: #8f4f4f; */\n", " /* background: #8f4f4f; */\n",
" margin-right: 10px;\n", " margin-right: 10px;\n",
" -webkit-font-smoothing: antialiased !important;\n", " /* -webkit-font-smoothing: antialiased !important; */\n",
"}\n", "}\n",
"\n", "\n",
"/* Code inside HTML/Markdown */\n", "/* Code inside HTML/Markdown */\n",
@ -36,7 +36,7 @@
"\n", "\n",
"/* Output area from code cells */\n", "/* Output area from code cells */\n",
"div.output_area pre {\n", "div.output_area pre {\n",
" font-size: 11pt !important;\n", " /* font-size: 11pt !important; */\n",
" color: #303030;\n", " color: #303030;\n",
"}\n", "}\n",
"\n", "\n",
@ -47,7 +47,7 @@
" font-family: 'Roboto', 'Signika', sans-serif;\n", " font-family: 'Roboto', 'Signika', sans-serif;\n",
" font-weight: ligher;\n", " font-weight: ligher;\n",
" font-style: normal;\n", " font-style: normal;\n",
" font-size: 20pt;\n", " /* font-size: 20pt; */\n",
" width: 100%;\n", " width: 100%;\n",
" text-align: left;\n", " text-align: left;\n",
" color: #EE7631;\n", " color: #EE7631;\n",
@ -85,7 +85,7 @@
"h2 {\n", "h2 {\n",
" font-family: \"Roboto\";\n", " font-family: \"Roboto\";\n",
" text-align: left;\n", " text-align: left;\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" margin-bottom: 5px;\n", " margin-bottom: 5px;\n",
" /* border-bottom: 1px solid lightgray; */\n", " /* border-bottom: 1px solid lightgray; */\n",
@ -159,10 +159,17 @@
"}\n", "}\n",
"\n", "\n",
"\n", "\n",
"/* Change global font size (for code) */\n",
".CodeMirror {\n",
"font-size: 16px !important;\n",
"font-family: monospace;\n",
"}\n",
"\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n", "/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: #ededed;\n", " background: #ededed;\n",
" color: #303030; \n", " color: #303030; \n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -175,7 +182,7 @@
"/* Background of code cells */\n", "/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: rgba(211, 211, 211, 0.123);\n", " background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n", " color: #303030;\n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -262,9 +269,6 @@
".cm-s-ipython span.cm-quote {\n", ".cm-s-ipython span.cm-quote {\n",
" color: #009e07;\n", " color: #009e07;\n",
"}\n", "}\n",
"\n",
"\n",
"\n",
"</style>" "</style>"
], ],
"text/plain": [ "text/plain": [
@ -489,7 +493,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.7.5" "version": "3.7.1"
}, },
"latex_envs": { "latex_envs": {
"LaTeX_envs_menu_present": true, "LaTeX_envs_menu_present": true,

View File

@ -21,12 +21,12 @@
"body,\n", "body,\n",
"div.body {\n", "div.body {\n",
" font-family: Roboto;\n", " font-family: Roboto;\n",
" font-size: 16pt;\n", " /* font-size: 16pt; */\n",
" color: #303030;\n", " color: #303030;\n",
" /* background-color: #d1b5b5; */\n", " /* background-color: #d1b5b5; */\n",
" /* background: #8f4f4f; */\n", " /* background: #8f4f4f; */\n",
" margin-right: 10px;\n", " margin-right: 10px;\n",
" -webkit-font-smoothing: antialiased !important;\n", " /* -webkit-font-smoothing: antialiased !important; */\n",
"}\n", "}\n",
"\n", "\n",
"/* Code inside HTML/Markdown */\n", "/* Code inside HTML/Markdown */\n",
@ -36,7 +36,7 @@
"\n", "\n",
"/* Output area from code cells */\n", "/* Output area from code cells */\n",
"div.output_area pre {\n", "div.output_area pre {\n",
" font-size: 11pt !important;\n", " /* font-size: 11pt !important; */\n",
" color: #303030;\n", " color: #303030;\n",
"}\n", "}\n",
"\n", "\n",
@ -47,7 +47,7 @@
" font-family: 'Roboto', 'Signika', sans-serif;\n", " font-family: 'Roboto', 'Signika', sans-serif;\n",
" font-weight: ligher;\n", " font-weight: ligher;\n",
" font-style: normal;\n", " font-style: normal;\n",
" font-size: 20pt;\n", " /* font-size: 20pt; */\n",
" width: 100%;\n", " width: 100%;\n",
" text-align: left;\n", " text-align: left;\n",
" color: #EE7631;\n", " color: #EE7631;\n",
@ -85,7 +85,7 @@
"h2 {\n", "h2 {\n",
" font-family: \"Roboto\";\n", " font-family: \"Roboto\";\n",
" text-align: left;\n", " text-align: left;\n",
" font-size: 12pt;\n", " /* font-size: 12pt; */\n",
" color: #EE7631;\n", " color: #EE7631;\n",
" margin-bottom: 5px;\n", " margin-bottom: 5px;\n",
" /* border-bottom: 1px solid lightgray; */\n", " /* border-bottom: 1px solid lightgray; */\n",
@ -159,10 +159,17 @@
"}\n", "}\n",
"\n", "\n",
"\n", "\n",
"/* Change global font size (for code) */\n",
".CodeMirror {\n",
"font-size: 16px !important;\n",
"font-family: monospace;\n",
"}\n",
"\n",
"\n",
"/* Code cells in the notebook - NOTE: color is font-color */\n", "/* Code cells in the notebook - NOTE: color is font-color */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: #ededed;\n", " background: #ededed;\n",
" color: #303030; \n", " color: #303030; \n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -175,7 +182,7 @@
"/* Background of code cells */\n", "/* Background of code cells */\n",
".cm-s-ipython.CodeMirror {\n", ".cm-s-ipython.CodeMirror {\n",
" font-family: monospace, monospace;\n", " font-family: monospace, monospace;\n",
" font-size: 11pt;\n", " /* font-size: 11pt; */\n",
" background: rgba(211, 211, 211, 0.123);\n", " background: rgba(211, 211, 211, 0.123);\n",
" color: #303030;\n", " color: #303030;\n",
" border-radius: 2px;\n", " border-radius: 2px;\n",
@ -262,9 +269,6 @@
".cm-s-ipython span.cm-quote {\n", ".cm-s-ipython span.cm-quote {\n",
" color: #009e07;\n", " color: #009e07;\n",
"}\n", "}\n",
"\n",
"\n",
"\n",
"</style>" "</style>"
], ],
"text/plain": [ "text/plain": [
@ -412,7 +416,7 @@
"name": "python", "name": "python",
"nbconvert_exporter": "python", "nbconvert_exporter": "python",
"pygments_lexer": "ipython3", "pygments_lexer": "ipython3",
"version": "3.7.5" "version": "3.7.1"
}, },
"latex_envs": { "latex_envs": {
"LaTeX_envs_menu_present": true, "LaTeX_envs_menu_present": true,

File diff suppressed because one or more lines are too long

View File

@ -11,12 +11,12 @@
body, body,
div.body { div.body {
font-family: Roboto; font-family: Roboto;
font-size: 16pt; /* font-size: 16pt; */
color: #303030; color: #303030;
/* background-color: #d1b5b5; */ /* background-color: #d1b5b5; */
/* background: #8f4f4f; */ /* background: #8f4f4f; */
margin-right: 10px; margin-right: 10px;
-webkit-font-smoothing: antialiased !important; /* -webkit-font-smoothing: antialiased !important; */
} }
/* Code inside HTML/Markdown */ /* Code inside HTML/Markdown */
@ -26,7 +26,7 @@ div.rendered_html code {
/* Output area from code cells */ /* Output area from code cells */
div.output_area pre { div.output_area pre {
font-size: 11pt !important; /* font-size: 11pt !important; */
color: #303030; color: #303030;
} }
@ -37,7 +37,7 @@ h1 {
font-family: 'Roboto', 'Signika', sans-serif; font-family: 'Roboto', 'Signika', sans-serif;
font-weight: ligher; font-weight: ligher;
font-style: normal; font-style: normal;
font-size: 20pt; /* font-size: 20pt; */
width: 100%; width: 100%;
text-align: left; text-align: left;
color: #EE7631; color: #EE7631;
@ -75,7 +75,7 @@ h1 {
h2 { h2 {
font-family: "Roboto"; font-family: "Roboto";
text-align: left; text-align: left;
font-size: 12pt; /* font-size: 12pt; */
color: #EE7631; color: #EE7631;
margin-bottom: 5px; margin-bottom: 5px;
/* border-bottom: 1px solid lightgray; */ /* border-bottom: 1px solid lightgray; */
@ -149,10 +149,17 @@ a {
} }
/* Change global font size (for code) */
.CodeMirror {
font-size: 16px !important;
font-family: monospace;
}
/* Code cells in the notebook - NOTE: color is font-color */ /* Code cells in the notebook - NOTE: color is font-color */
.cm-s-ipython.CodeMirror { .cm-s-ipython.CodeMirror {
font-family: monospace, monospace; font-family: monospace, monospace;
font-size: 11pt; /* font-size: 11pt; */
background: #ededed; background: #ededed;
color: #303030; color: #303030;
border-radius: 2px; border-radius: 2px;
@ -165,7 +172,7 @@ a {
/* Background of code cells */ /* Background of code cells */
.cm-s-ipython.CodeMirror { .cm-s-ipython.CodeMirror {
font-family: monospace, monospace; font-family: monospace, monospace;
font-size: 11pt; /* font-size: 11pt; */
background: rgba(211, 211, 211, 0.123); background: rgba(211, 211, 211, 0.123);
color: #303030; color: #303030;
border-radius: 2px; border-radius: 2px;
@ -252,6 +259,3 @@ a {
.cm-s-ipython span.cm-quote { .cm-s-ipython span.cm-quote {
color: #009e07; color: #009e07;
} }