Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
OnnoEbbens committed Oct 12, 2023
1 parent 38c588a commit 4d587f4
Show file tree
Hide file tree
Showing 8 changed files with 95 additions and 93 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@
"source": [
"## 1. Datatypes\n",
"\n",
"Een variabele heeft naast een naam en en waare ook altijd een type, ook wel het data type genoemd. Data types bepalen wat voor soort bewerkingen je kan doen met variabelen. Voorbeelden van datatypes zijn: een integer (geheel getal), een float (decimaal getal) en een Boolean.\n",
"\n",
"Hieronder staan voorbeelden en opdrachten met datatypes. Een variabele krijgt een bepaalt datatype wanneer je de variabele aanmaakt (met het `=` teken)."
"Een variabele heeft naast een naam en een waarde ook altijd een type. Dit wordt ook wel het data type genoemd. Data types bepalen wat voor soort bewerkingen je kan doen met variabelen. Voorbeelden van datatypes zijn: een integer (geheel getal), een float (decimaal getal), een string (text) en een boolean (True/False). Hieronder staan voorbeelden en opdrachten met datatypes."
]
},
{
Expand Down Expand Up @@ -222,7 +220,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## .Zip\n",
"### De `zip` functie\n",
"\n",
"Je kan ook over de items uit meerdere lijsten tegelijk loopen. Hiervoor gebruik je de `zip()` functie, zie voorbeeld hieronder."
]
Expand Down

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"outputs": [],
"source": [
"def myfigure():\n",
" with plt.style.context(('seaborn')):\n",
" with plt.style.context(('seaborn-v0_8')):\n",
" xl = (-2, 8)\n",
" yl = (-2, 8)\n",
" plt.figure(figsize=(5,5))\n",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"outputs": [],
"source": [
"def myfigure():\n",
" with plt.style.context(('seaborn')):\n",
" with plt.style.context(('seaborn-v0_8')):\n",
" xl = (-2, 8)\n",
" yl = (-2, 8)\n",
" plt.figure(figsize=(5,5))\n",
Expand Down
10 changes: 7 additions & 3 deletions Exercise_notebooks/On_topic/08_GIS/GIS_pyshp.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Set figures to appear inline (so inside the notebook) and change the style to the \"seaborn\" style. Many people find this visually more appealing than default matplotlib."
"Set figures to appear inline (so inside the notebook) and change the style to the \"seaborn-v0_8\" style. Many people find this visually more appealing than default matplotlib."
]
},
{
Expand All @@ -97,7 +97,7 @@
"source": [
"#settings\n",
"%matplotlib inline\n",
"plt.style.use('seaborn')"
"plt.style.use('seaborn-v0_8')"
]
},
{
Expand Down Expand Up @@ -271,7 +271,11 @@
]
}
],
"metadata": {},
"metadata": {
"language_info": {
"name": "python"
}
},
"nbformat": 4,
"nbformat_minor": 2
}
Loading

0 comments on commit 4d587f4

Please sign in to comment.