diff --git a/windrose/windrose.py b/windrose/windrose.py index e109f9a..536626d 100644 --- a/windrose/windrose.py +++ b/windrose/windrose.py @@ -397,7 +397,13 @@ def _init_plot(self, direction, var, **kwargs): # Set the global information dictionary self._info["dir"], self._info["bins"], self._info["table"] = histogram( - direction, var, bins, nsector, normed, blowto, total, + direction, + var, + bins, + nsector, + normed, + blowto, + total, ) return bins, nbins, nsector, colors, angles, kwargs @@ -529,7 +535,8 @@ def contourf(self, direction, var, **kwargs): ( self._info["table"], np.reshape( - self._info["table"][:, 0], (self._info["table"].shape[0], 1), + self._info["table"][:, 0], + (self._info["table"].shape[0], 1), ), ), )