Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed May 29, 2024
1 parent 495b2ca commit f0134d3
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions windrose/windrose.py
Original file line number Diff line number Diff line change
Expand Up @@ -378,8 +378,9 @@ def _init_plot(self, direction, var, **kwargs):

if np.isnan(bins).any():
raise ValueError(
"Could not compute the bins due to the presence of NaNs in "
"either the bins provided or the original data.")
"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 f0134d3

Please sign in to comment.