Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ and this project adheres to [Semantic Versioning][].

### Fixed

- Now dropping index when plotting shapes after spatial query (#177)

## [0.0.6] - 2023-11-06

### Added
Expand Down
2 changes: 1 addition & 1 deletion src/spatialdata_plot/pl/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,7 +229,7 @@ def _get_collection_shape(
shapes_df = shapes_df[shapes_df["geometry"].apply(lambda geom: not geom.is_empty)]

# reset index of shapes_df for case of spatial query
shapes_df = shapes_df.reset_index()
shapes_df = shapes_df.reset_index(drop=True)

rows = []

Expand Down
1 change: 0 additions & 1 deletion test_sandbox_data.ipynb

This file was deleted.