Skip to content

Commit

Permalink
DOC: correct docstring for AxisCollection.set_labels
Browse files Browse the repository at this point in the history
  • Loading branch information
gdementen committed Aug 1, 2024
1 parent 594c9da commit be73ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion larray/core/axis.py
Original file line number Diff line number Diff line change
Expand Up @@ -2467,7 +2467,7 @@ def set_labels(self, axis=None, labels=None, inplace=False, **kwargs) -> 'AxisCo
Parameters
----------
axis : string or Axis or dict
axis : Axis, str, int or dict
Axis for which we want to replace labels, or mapping {axis: changes} where changes can either be the
complete list of labels, a mapping {old_label: new_label} or a function to transform labels.
If there is no ambiguity (two or more axes have the same labels), `axis` can be a direct mapping
Expand Down

0 comments on commit be73ce7

Please sign in to comment.