From f0134d394250ea93ed6ae08ceedeb763b212d56d Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Wed, 29 May 2024 16:27:02 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- windrose/windrose.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/windrose/windrose.py b/windrose/windrose.py index 52e35b0..1f2159a 100644 --- a/windrose/windrose.py +++ b/windrose/windrose.py @@ -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)