From 4a0a8086ccadec2507f5a7130b60524869191fa8 Mon Sep 17 00:00:00 2001 From: Katelyn FitzGerald <7872563+kafitzgerald@users.noreply.github.com> Date: Mon, 21 Oct 2024 12:34:14 -0600 Subject: [PATCH] Fix to address pydata/xarray#9043 --- notebooks/7-animation.ipynb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/7-animation.ipynb b/notebooks/7-animation.ipynb index 24585bd..41e6f5d 100644 --- a/notebooks/7-animation.ipynb +++ b/notebooks/7-animation.ipynb @@ -341,8 +341,8 @@ "metadata": {}, "outputs": [], "source": [ - "vmin = t.min()\n", - "vmax = t.max()\n", + "vmin = t.min().values\n", + "vmax = t.max().values\n", "levels = 30\n", "\n", "# create initial plot that we will update\n",