MCPcopy
hub / github.com/pydata/xarray / dim_section

Function dim_section

xarray/core/formatting_html.py:232–237  ·  view source on GitHub ↗
(obj)

Source from the content-addressed store, hash-verified

230
231
232def dim_section(obj) -> str:
233 dim_list = format_dims(obj.sizes, obj.xindexes.dims)
234
235 return collapsible_section(
236 "Dimensions:", inline_details=dim_list, enabled=False, collapsed=True
237 )
238
239
240def array_section(obj) -> str:

Callers 2

dataset_reprFunction · 0.85
_datatree_node_sectionsFunction · 0.85

Calls 2

format_dimsFunction · 0.85
collapsible_sectionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…