spectrochempy.CoordSet.set_titles

CoordSet.set_titles(*args, **kwargs)[source]

Set one or more coord title at once.

Parameters
  • args (str(s)) – The list of titles to apply to the set of coordinates (they must be given according to the coordinate’s name alphabetical order.

  • **kwargs – Keyword attribution of the titles. The keys must be valid names among the coordinate’s name list. This is the recommended way to set titles as this will be less prone to errors.

Notes

If the args are not named, then the attributions are made in coordinate’s name alphabetical order : e.g, the first title will be for the x coordinates, the second for the y, etc.