MCPcopy Create free account
hub / github.com/pydata/xarray / summarize_vars

Function summarize_vars

xarray/core/formatting_html.py:135–141  ·  view source on GitHub ↗
(variables)

Source from the content-addressed store, hash-verified

133
134
135def summarize_vars(variables) -> str:
136 vars_li = "".join(
137 f"<li class='xr-var-item'>{summarize_variable(k, v)}</li>"
138 for k, v in variables.items()
139 )
140
141 return f"<ul class='xr-var-list'>{vars_li}</ul>"
142
143
144def short_index_repr_html(index) -> str:

Callers

nothing calls this directly

Calls 3

itemsMethod · 0.80
summarize_variableFunction · 0.70
joinMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…