lair.plotter.create_polar_ax#

lair.plotter.create_polar_ax()[source]#

Create a polar axis with North at the top.

Returns:

plt.Axes – Polar axis.

Return type:

PolarAxes

See also

polarPlot

Draws a contour plot on it.

format_radial_axis

Labels its radial axis.

Examples

North is at the top and angles run clockwise:

>>> from lair.plotter import create_polar_ax
>>> ax = create_polar_ax()
>>> ax.set_rlim(0, 10)
(0.0, 10.0)
../_images/lair-plotter-create_polar_ax-1.png