Skip to content

Commit

Permalink
Change to line plot
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuang11 authored Jul 1, 2024
1 parent 7c1d59b commit 93dcdbd
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions overview/xarray-in-45-min.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1105,9 +1105,16 @@
"outputs": [],
"source": [
"import hvplot.xarray\n",
"import xarray as xr\n",
"\n",
"ds.isel(time=slice(0, 10)).air.hvplot(\n",
" groupby=\"time\", clim=(270, 300), widget_location='bottom', dynamic=False\n",
"ds = xr.tutorial.open_dataset(\"air_temperature\")\n",
"ds.mean(\"time\").hvplot(\n",
" groupby=\"lat\",\n",
" hover=\"vline\",\n",
" responsive=True,\n",
" dynamic=False,\n",
" ylim=(240, 310),\n",
" min_height=350,\n",
")"
]
},
Expand Down

0 comments on commit 93dcdbd

Please sign in to comment.