Skip to content

Commit 3255434

Browse files
authored
Merge pull request #228 from stas-sl/patch-1
pass kind argument from plot_windrose_df to plot_windrose_np
2 parents 39c5997 + 42fe6a6 commit 3255434

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

windrose/windrose.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,9 @@ def plot_windrose_df(
983983
"""Plot windrose from a pandas DataFrame."""
984984
var = df[var_name].values
985985
direction = df[direction_name].values
986-
return plot_windrose_np(direction, var, by=by, rmax=rmax, ax=ax, **kwargs)
986+
return plot_windrose_np(
987+
direction, var, kind=kind, by=by, rmax=rmax, ax=ax, **kwargs
988+
)
987989

988990

989991
def plot_windrose_np(

0 commit comments

Comments
 (0)