giddy.directional.Rose

Rose.plot(self, attribute=None, ax=None, **kwargs)[source]

Plot the rose diagram.

Parameters
attribute(n,) ndarray, optional

Variable to specify colors of the colorbars.

axMatplotlib Axes instance, optional

If given, the figure will be created inside this axis. Default =None. Note, this axis should have a polar projection.

**kwargskeyword arguments, optional

Keywords used for creating and designing the plot. Note: ‘c’ and ‘color’ cannot be passed when attribute is not None

Returns
figMatplotlib Figure instance

Moran scatterplot figure

axmatplotlib Axes instance

Axes in which the figure is plotted