larray.AxisCollection.display_names

property AxisCollection.display_names: List[str]

Return the list of (display) names of the axes.

Returns
list

List of names of the axes. Wildcard axes are displayed with an attached *. Anonymous axes (name = None) are replaced by their position wrapped in braces.

Examples

>>> a = Axis(['a1', 'a2'], 'a')
>>> b = Axis(2, 'b')
>>> c = Axis(['c1', 'c2'])
>>> d = Axis(3)
>>> AxisCollection([a, b, c, d]).display_names
['a', 'b*', '{2}', '{3}*']