-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
join together duplicate entries in the text
repr
(#7225)
* group the variable names of common indexes * implement option 1: separate with just newlines * implement option 2: list-like presentation of the indexes * implement option 3: light box components in front of the coord names * implement option 4: light box components after the coord names * fix the repr of `Indexes` * only add combine markers for xarray indexes * select option 3 Support for the box components should be common enough that we can use it (and the worst that can happen is that those characters are displayed with a replacement glyph – usually a diamond with a question mark) * improve typing Co-authored-by: Illviljan <[email protected]> * whats-new.rst * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * simplify the visual hint construction * improve the existing index repr test * check that the hints are constructed correctly * convert the names to tuples * revert the typing of `index` * more conversion to tuple * type hint the instance variable * whats-new entry * don't type-check the monkeypatching * adjust the typing, again * use a subclass instead of monkeypatching and type-ignores --------- Co-authored-by: Illviljan <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Deepak Cherian <[email protected]>
- Loading branch information
1 parent
1d8e92b
commit 6b1ff6d
Showing
4 changed files
with
95 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters