notebook_helper

notebook_helper#

Full path: exa.common.helpers.notebook_helper

Jupyter notebook rendering helpers for SettingNode.

Functions

fallback_html(node)

Cheap root-only HTML summary, used when no live widget manager is available.

fallback_text(node)

Plain-text root-only summary, used as the widget's text/plain degradation message.

json_safe(value)

Convert a value into a JSON-serializable form for display tooltips.

node_header_html(key, name, cls)

Render the per-node header line (key + name + class).

repr_mimebundle(node[, include, exclude])

Backing implementation of SettingNode._repr_mimebundle_().

serialize_level(node)

Serialize only node's own level (its settings and immediate children) for display.

settings_html(settings)

Render a single level's serialized settings as an HTML table (empty string if none).

value_type_and_display(value)

Classify a value and format it for display, mirroring the jinja template.