Skip to content

Commit

Permalink
Deprecated xarray argument
Browse files Browse the repository at this point in the history
  • Loading branch information
pfebrer authored Nov 3, 2023
1 parent 07359d8 commit 2b29e3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sisl/viz/processors/bands.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def filter_bands(
else:
filtered_bands = filtered_bands.where(
(filtered_bands <= Erange[1]) & (filtered_bands >= Erange[0])
).dropna("band", "all")
).dropna("band", how="all")
continous_bands = filtered_bands.dropna("k", how="all")

# This is the new bands range
Expand Down

0 comments on commit 2b29e3b

Please sign in to comment.