Skip to content

Commit

Permalink
Merge pull request #228 from stas-sl/patch-1
Browse files Browse the repository at this point in the history
pass kind argument from plot_windrose_df to plot_windrose_np
  • Loading branch information
ocefpaf committed Jun 12, 2023
2 parents 39c5997 + 42fe6a6 commit 3255434
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion windrose/windrose.py
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, 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 3255434

Please sign in to comment.