atompy.square_polar_axes#
- atompy.square_polar_axes(ax=None, n_gridlines=12, mark_zero=True, **plot_kwargs)[source]#
Format polar axes to be squared.
Hide original axes, then overlay another axes that is squared.
- Parameters:
- ax
matplotlib.axes.Axes, optional If
None, use currently active axes.- n_gridlines
int, default 12 Number of gridlines to add. 360 should probably be dividable by this.
- mark_zerobool, default
True If
True, draw a crosshair at 0.
- ax
- Returns:
- frame
matplotlib.axes.Axes The frame axes. The zorder of frame is one less than that of ax.
- frame