Skip to content

Commit

Permalink
Updates for PR
Browse files Browse the repository at this point in the history
  • Loading branch information
HIKassem authored and Hassan Kassem committed May 28, 2024
1 parent e0b6134 commit 495b2ca
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions windrose/windrose.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,8 @@ def _init_plot(self, direction, var, **kwargs):

if np.isnan(bins).any():
raise ValueError(
"Input bins contain NaN values. If bins are not explicitly "\
"provided as 1D array, that means var array has NaN values.")
"Could not compute the bins due to the presence of NaNs in "
"either the bins provided or the original data.")

# Number of sectors
nsector = kwargs.pop("nsector", None)
Expand Down

0 comments on commit 495b2ca

Please sign in to comment.