Skip to content

Commit

Permalink
Fixing name at notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
FloraSauerbronn committed Sep 2, 2024
1 parent 3569d6f commit 6c131e7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions notebooks/01-plotting_intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"### plot_ctd\n",
"### plot_cast\n",
"\n",
"This method groups all the casts by their position (latitude and longitude) giving the user access to each individual cast using the index (`profile_number`) of the grouped DataFrame."
]
Expand All @@ -57,7 +57,7 @@
"metadata": {},
"outputs": [],
"source": [
"fig, ax = df.plot_ctd(profile_number=0, var=\"temperature\", color=\"blue\")"
"fig, ax = df.plot_cast(profile_number=0, var=\"temperature\", color=\"blue\")"
]
},
{
Expand All @@ -73,10 +73,10 @@
"metadata": {},
"outputs": [],
"source": [
"fig, ax0 = df.plot_ctd(profile_number=0, var=\"temperature\", color=\"blue\")\n",
"fig, ax0 = df.plot_cast(profile_number=0, var=\"temperature\", color=\"blue\")\n",
"\n",
"ax1 = ax0.twiny()\n",
"df.plot_ctd(profile_number=0, var=\"salinity\", color=\"red\", ax=ax1)\n",
"df.plot_cast(profile_number=0, var=\"salinity\", color=\"red\", ax=ax1)\n",
"\n",
"ax0.legend()\n",
"ax1.legend()"
Expand Down

0 comments on commit 6c131e7

Please sign in to comment.