Skip to content

Commit

Permalink
Groupby two dims instead
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 authored Jul 1, 2024
1 parent e5f2b8d commit 38e88b5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions overview/xarray-in-45-min.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1106,8 +1106,8 @@
"source": [
"import hvplot.xarray\n",
"\n",
"ds.mean(\"time\").hvplot(\n",
" groupby=\"lat\",\n",
"ds.groupby(\"time.season\").mean().hvplot(\n",
" groupby=[\"season\", \"lat\"],\n",
" hover=\"vline\",\n",
" responsive=True,\n",
" dynamic=False,\n",
Expand Down

0 comments on commit 38e88b5

Please sign in to comment.