opticam.plotting.helpers

Functions

scale_ax(ax, scale)

Set the scale(s) of an Axes based on scale.

Module Contents

opticam.plotting.helpers.scale_ax(ax, scale)

Set the scale(s) of an Axes based on scale.

Parameters

axAxes

The axis to be scaled.

scaleLiteral['linear', 'semilogx', 'semilogy', 'loglog']

The desired scale.

Parameters:
  • ax (matplotlib.axes.Axes)

  • scale (Literal['linear', 'semilogx', 'semilogy', 'loglog'])

Return type:

None