xoa.core.plot.Rose

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:
ax#
Type:

matplotlib.projections.polar.PolarAxes

bars#

The matplotlib.container.BarContainer objects, one per bin of value

Type:

list

legend#
Type:

None, matplotlib.legend.Legend

__init__(fig=None, subplot=111, rmax=None, rlabel_angle=22.5, grid_kwargs=None)[source]#

Methods

add_bars(freq, edges[, cmap, colors, label, ...])

Add stacked bars