Skip to content

Commit ba6a682

Browse files
committed
📚🧹 Fix typos
1 parent fce6398 commit ba6a682

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/notebooks/tips_and_tricks.ipynb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@
6868
"cell_type": "markdown",
6969
"metadata": {},
7070
"source": [
71-
"From the fist look we can see that the `Result` only contains a single dataset named `dataset_1`.\n",
71+
"From the first look we can see that the `Result` only contains a single dataset named `dataset_1`.\n",
7272
"\n",
7373
"For ease of use let's assign it to a variable `ds` and have a closer look."
7474
]
@@ -118,7 +118,7 @@
118118
"\n",
119119
"Now that we know how to access the data we are interested in, let's plot them.\n",
120120
"\n",
121-
"Lucky for use `xarray` comes with built in convenience functionality that lets us quickly have a look at the data. \n",
121+
"Lucky for us `xarray` comes with built in convenience functionality that lets us quickly have a look at the data. \n",
122122
"\n",
123123
"For data with up to two dimension `xarray` is pretty good guessing what we want to plot by simply \n",
124124
"calling the `plot` attribute on our data."
@@ -190,7 +190,7 @@
190190
"metadata": {},
191191
"source": [
192192
"Even so we now have a line plot this isn't what we wanted because each point on the `spectral` \n",
193-
"dimension resulted in it's own line, leaving us with a plot that contains 72 lines."
193+
"dimension resulted in its own line, leaving us with a plot that contains 72 lines."
194194
]
195195
},
196196
{
@@ -289,9 +289,9 @@
289289
"source": [
290290
"from pyglotaran_extras.plotting.utils import extract_irf_location\n",
291291
"\n",
292-
"if_location = extract_irf_location(ds)\n",
292+
"irf_location = extract_irf_location(ds)\n",
293293
"ds_shifted = ds.copy()\n",
294-
"ds_shifted[\"time\"] = ds.time - if_location\n",
294+
"ds_shifted[\"time\"] = ds.time - irf_location\n",
295295
"ds_shifted.isel(time=slice(80, 200)).irf.plot();"
296296
]
297297
},

0 commit comments

Comments
 (0)