Skip to content

Commit

Permalink
A minor fix
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Sep 28, 2024
1 parent 2fd13fb commit 9972ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pygmt/datatypes/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ def to_dataarray(self) -> xr.DataArray:

if header.n_bands != 3:
msg = (

Check warning on line 179 in pygmt/datatypes/image.py

View check run for this annotation

Codecov / codecov/patch

pygmt/datatypes/image.py#L179

Added line #L179 was not covered by tests
f"The raster image has {header.n_bands}-band(s). "
f"The raster image has {header.n_bands} band(s). "
"Currently only 3-band images are supported. "
"Please consider submitting a feature request to us. "
)
Expand Down

0 comments on commit 9972ba1

Please sign in to comment.