Skip to content

Commit fd4e240

Browse files
committed
align with new exercise syntax
1 parent 50385e9 commit fd4e240

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

intermediate/indexing/advanced-indexing.ipynb

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -292,15 +292,12 @@
292292
"source": [
293293
"## Excersises\n",
294294
"\n",
295-
"```{exercise}\n",
296-
":label: indexing-advanced-1\n",
295+
"::::{admonition} Exercise\n",
296+
":class: tip\n",
297297
"\n",
298298
"In the simple 2D 5x5 Xarray data array above, select the sub-array containing (0,0),(2,2),(4,4) : \n",
299-
"```\n",
300-
"\n",
301-
"\n",
302299
"\n",
303-
"````{solution} indexing-advanced-1\n",
300+
":::{admonition} Solution\n",
304301
":class: dropdown\n",
305302
"```python\n",
306303
"\n",
@@ -312,7 +309,8 @@
312309
"subset_da = da.sel(x=xs_da, y=xs_da)\n",
313310
"subset_da\n",
314311
"```\n",
315-
"````\n"
312+
":::\n",
313+
"::::"
316314
]
317315
},
318316
{

0 commit comments

Comments
 (0)