title_from_coords

PlasmaCalcs.plotting.labels.title_from_coords(array, cnames=None, *, width=None, formattable=False)

return a decent title from scalar coords.

cnames: None or list of str
coords to include values of in the title.
None –> include all scalar coords.
width: None or int
max number of characters per line, before putting a newline between coords.
formattable: bool
whether to return a formattable version of the title.