Skip to content

Commit

Permalink
chore: add a new image for the example notebook.
Browse files Browse the repository at this point in the history
  • Loading branch information
Taher Chegini committed Feb 12, 2025
1 parent 7092d79 commit 4ba9449
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion docs/examples/hydrodata.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,8 @@
"source": [
"dem = rio_merge.merge_arrays([rxr.open_rasterio(f) for f in tiff_list]).squeeze(drop=True)\n",
"dem = dem.rio.clip_box(*duck.total_bounds, crs=duck.crs).rio.clip([duck.union_all()], crs=duck.crs)\n",
"_ = dem.plot.imshow(robust=True)"
"ax = dem.plot.imshow(robust=True)\n",
"ax.figure.savefig(f\"images/dem.png\")"
]
},
{
Expand Down
Binary file added docs/examples/images/dem.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed docs/examples/images/image.png
Binary file not shown.
2 changes: 1 addition & 1 deletion docs/examples/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ packages.

<div class="grid cards" markdown>

- [![Hydrology Data](images/image.png){ loading=lazy }](hydrodata.ipynb "Hydrology Data")
- [![Hydrology Data](images/dem.png){ loading=lazy }](hydrodata.ipynb "Hydrology Data")
**Hydrology Data**

</div>

0 comments on commit 4ba9449

Please sign in to comment.