Skip to content

Commit

Permalink
fix numpy use
Browse files Browse the repository at this point in the history
  • Loading branch information
rhayes777 committed Dec 2, 2024
1 parent 7ddb7d0 commit de032ae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def centres(self) -> np.ndarray:
centres = self.scaling_factors * self.coordinates + np.array(
[self.x_offset, self.y_offset]
)
return np.where(self.mask[:, None], np.nan, centres)
return self.numpy.where(self.mask[:, None], np.nan, centres)

@cached_property
def flip_mask(self) -> np.ndarray:
Expand Down

0 comments on commit de032ae

Please sign in to comment.