From 08e9f77fd680ee0498c820e893f1c604177528cf Mon Sep 17 00:00:00 2001 From: Timothy Bartholomaus <24902730+tbartholomaus@users.noreply.github.com> Date: Sat, 3 Dec 2022 13:56:35 -0800 Subject: [PATCH] Addition of missing dates for profiles Call to `myVelSeries.plotProfile` in the example workingWithGrIMPVelocity.ipynb was missing use of a `date` attribute, which caused example plot to repeatedly plot only one date. Small correction to that here, as well as a tweak to the language describing the plot. --- workingWithGrIMPVelocity.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/workingWithGrIMPVelocity.ipynb b/workingWithGrIMPVelocity.ipynb index f87e0cd..70629e1 100644 --- a/workingWithGrIMPVelocity.ipynb +++ b/workingWithGrIMPVelocity.ipynb @@ -2777,7 +2777,7 @@ "myVelSeries.labelPointPlot(ax=axes[1], title='Speed Near the Center of the Ice Stream')\n", "# plot profile for each date\n", "for date in myVelSeries.time:\n", - " myVelSeries.plotProfile(xprof, yprof, ax=axes[2], units='km')\n", + " myVelSeries.plotProfile(xprof, yprof, date=date, ax=axes[2], units='km')\n", "# label with all fontsizes increased by 30%\n", "myVelSeries.labelProfilePlot(ax=axes[2], title='Profiles of Speed Acrossthe Ice Stream', fontScale=1.3)\n", "axes[2].legend()\n", @@ -2789,7 +2789,7 @@ "id": "9df12abb-dd6a-4b14-bf85-2ad2a76e244e", "metadata": {}, "source": [ - "In this example, the speeds are only changing slowly as indicated by the time series and sequence of profiles that overplot each other." + "In this example, the speeds are only changing slowly as indicated by the time series and sequence of profiles that plot in close proximity to each other." ] }, {