Skip to content

Commit

Permalink
Fix error in code cell
Browse files Browse the repository at this point in the history
  • Loading branch information
rhugonnet committed Aug 2, 2024
1 parent 97e6562 commit d236386
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
5 changes: 5 additions & 0 deletions doc/source/core_lazy_load.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,11 @@ For instance, using any {class}`~geoutils.Raster` or {class}`~geoutils.Vector` a
always conserve the lazy loading of that match-reference object.

```{code-cell} ipython3
---
mystnb:
output_stderr: show
---
# Use a smaller Raster as reference to crop the initial one
smaller_rast = gu.Raster(gu.examples.get_path("everest_landsat_b4_cropped"))
rast.crop(smaller_rast)
Expand Down
5 changes: 0 additions & 5 deletions doc/source/vector_class.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,14 +98,11 @@ These behaviours aim to simplify the analysis of vectors, removing the need to o
({class}`geopandas.GeoDataFrame`, {class}`geopandas.GeoSeries`, {class}`shapely.Geometry`, {class}`pandas.Series`).

```{code-cell} ipython3
:tags: [hide-output]
# Example of method with geometric output
vect.boundary
```

```{code-cell} ipython3
:tags: [hide-output]
---
mystnb:
output_stderr: show
Expand All @@ -116,8 +113,6 @@ vect.area
```

```{code-cell} ipython3
:tags: [hide-output]
# Example of method with other output type
vect.to_json()
```
Expand Down

0 comments on commit d236386

Please sign in to comment.