multicolorfits.overlays.add_scale_bar#

multicolorfits.overlays.add_scale_bar(ax, header=None, *, length_asec=None, label=None, **kwargs)[source]#

Add an arcsecond scale bar (delegates to skyplothelper add_sizebar_asec).

When length_asec is None or 0, a length of ~15% of the field width is chosen automatically from the header pixel scale.

Parameters:
  • ax (Any)

  • header (Any | None)

  • length_asec (float | None)

  • label (str | None)

  • kwargs (Any)

Return type:

Any