Skip to content

Commit

Permalink
Update _rgba.py
Browse files Browse the repository at this point in the history
Closes #570
  • Loading branch information
TomAugspurger authored Jul 5, 2023
1 parent 5e08652 commit 3c26e67
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libs/algo/odc/algo/_rgba.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def to_rgba_np(
elif nodata is not None:
valid = r != nodata
else:
valid = np.ones(r.shape, dtype=np.bool)
valid = np.ones(r.shape, dtype=bool)

rgba[..., 3] = valid.astype("uint8") * (0xFF)
for idx, band in enumerate([r, g, b]):
Expand Down

0 comments on commit 3c26e67

Please sign in to comment.