lair.plotter.polarFreq#
- lair.plotter.polarFreq(data, x='ws', wd='wd', xbins=30, scale_angle=None)[source]#
Plot the contoured frequency of the data.
- Parameters:
data (pd.DataFrame) – Data to plot.
x (str, optional) – Variable to bin in the radial axis. Defaults to ‘ws’.
wd (str, optional) – Variable to bin in the angular axis. Defaults to ‘wd’.
xbins (int, optional) – Number of bins in the radial axis. Defaults to 30.
scale_angle (float | None, optional) – Angle to position the radial axis label. Defaults to None.
- Returns:
plt.Axes – Axis with the plot
- Return type: