xoa.core.plot.Rose#
- class xoa.core.plot.Rose(fig=None, subplot=111, rmax=None, rlabel_angle=22.5, grid_kwargs=None)[source]#
A rose of frequencies on a polar axes
The north is at the top and the directions are clockwise. Each sector is a stack of bars, one per bin of value.
- Parameters:
fig (None, matplotlib.figure.Figure) – A new figure by default
subplot (int, matplotlib.gridspec.SubplotSpec) – Position of the axes in the figure
rmax (None, float) – Maximal frequency in percent
rlabel_angle (float) – Direction in degrees of the frequency labels
grid_kwargs (None, dict) – Parameters of
matplotlib.axes.Axes.grid()
- bars#
The
matplotlib.container.BarContainerobjects, one per bin of value- Type:
- legend#
- Type:
None, matplotlib.legend.Legend
Methods
add_bars(freq, edges[, cmap, colors, label, ...])Add stacked bars