MCPcopy Index your code
hub / github.com/pydata/xarray / _icon

Function _icon

xarray/core/formatting_html.py:76–80  ·  view source on GitHub ↗
(icon_name)

Source from the content-addressed store, hash-verified

74
75
76def _icon(icon_name) -> str:
77 # icon_name should be defined in xarray/static/html/icon-svg-inline.html
78 return (
79 f"<svg class='icon xr-{icon_name}'><use xlink:href='#{icon_name}'></use></svg>"
80 )
81
82
83def summarize_variable(name, var, is_index=False, dtype=None) -> str:

Callers 3

summarize_variableFunction · 0.85
summarize_indexFunction · 0.85
array_sectionFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…