Skip to content

Commit

Permalink
make it a kwarg
Browse files Browse the repository at this point in the history
  • Loading branch information
ocefpaf committed Jun 12, 2023
1 parent 3c078bd commit 42fe6a6
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion windrose/windrose.py
Original file line number Diff line number Diff line change
Expand Up @@ -983,7 +983,9 @@ def plot_windrose_df(
"""Plot windrose from a pandas DataFrame."""
var = df[var_name].values
direction = df[direction_name].values
return plot_windrose_np(direction, var, kind, by=by, rmax=rmax, ax=ax, **kwargs)
return plot_windrose_np(
direction, var, kind=kind, by=by, rmax=rmax, ax=ax, **kwargs
)


def plot_windrose_np(
Expand Down

0 comments on commit 42fe6a6

Please sign in to comment.