Skip to content

Commit 3dd645b

Browse files
committed
doc: Add what's new entry for __repr__ changes
Sorted as a "breaking change" for 0.18.3 for now.
1 parent f171cd9 commit 3dd645b

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

doc/whats-new.rst

+5
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,11 @@ Breaking changes
6262
pre-existing array values. This is a safer default than the prior ``mode="a"``,
6363
and allows for higher performance writes (:pull:`5252`).
6464
By `Stephan Hoyer <https://github.com/shoyer>`_.
65+
- The ``__repr__`` of a :py:class:`xarray.Dataset`'s ``attrs``, ``coords``,
66+
and ``data_vars`` ignore ``xarray.set_option(display_max_rows=...)`` and
67+
show the full output when called directly as, e.g., ``ds.data_vars`` or
68+
``print(ds.data_vars)`` (:issue:`5545`, :pull:`5580`).
69+
By `Stefan Bender <https://github.com/st-bender>`_.
6570

6671
Deprecations
6772
~~~~~~~~~~~~

0 commit comments

Comments
 (0)