Skip to content

Commit b37596d

Browse files
committed
make call to polar more future proof
1 parent 7fdaae6 commit b37596d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • LadybugTools_Engine/Python/src/ladybugtools_toolkit

LadybugTools_Engine/Python/src/ladybugtools_toolkit/wind.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1896,7 +1896,7 @@ def plot_windrose(
18961896
if title is None or title == "":
18971897
title = textwrap.fill(f"{self.source}", 75)
18981898

1899-
ax = polar(df, "Wind Speed (m/s)", "Wind Direction (degrees)", ax, directions, value_bins, colors, title, legend, ylim, label)
1899+
ax = polar(data=df, value_column=df.columns[0], direction_column=df.columns[1], ax=ax, directions=directions, value_bins=value_bins, colours=colors, title=title, legend=legend, ylim=ylim, label=label)
19001900

19011901
return ax
19021902

0 commit comments

Comments
 (0)