axis_labels_from_ctype

sunpy.visualization.axis_labels_from_ctype(ctype, unit)[source] [edit on github]

Returns axis labels for the given coordinate type and unit.

Parameters
  • ctype (str) – Coordinate type.

  • unit (str) – Required unit.

Returns

str – “Axis Label [Unit]”