lair.plotter.polarPlot#
- lair.plotter.polarPlot(data, param='CH4', x='ws', wd='wd', statistic='mean', units='ppm', min_bin=1, xbins=30, scale_angle=None)[source]#
Plot polar contour of data.
- Parameters:
data (pd.DataFrame) – Data to plot.
param (str, optional) – Parameter to plot. Defaults to ‘CH4’.
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’.
statistic (str, optional) – Statistic to plot. Defaults to ‘mean’.
units (str, optional) – Units of the parameter for the colorbar label. Defaults to ‘ppm’.
min_bin (int, optional) – Minimum count in each bin to plot. Defaults to 1.
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: