Skip to content

Commit

Permalink
Merge pull request #642 from pfebrer/patch-5
Browse files Browse the repository at this point in the history
Deprecated xarray argument
  • Loading branch information
zerothi authored Nov 3, 2023
2 parents 5bf71f2 + 2b29e3b commit bd53976
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 bd53976

Please sign in to comment.