We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e29aeb9 commit 9b90f8bCopy full SHA for 9b90f8b
xarray/core/formatting.py
@@ -425,7 +425,10 @@ def summarize_index(
425
if max_width is None:
426
max_width = OPTIONS["display_width"]
427
428
- preformatted = [pretty_print(f" {name} ", col_width) for name in names]
+ preformatted = [
429
+ pretty_print(f" {'-' if index == 0 else ' '} {name} ", col_width)
430
+ for index, name in enumerate(names)
431
+ ]
432
433
head, *tail = preformatted
434
index_width = max_width - len(head)
0 commit comments