Skip to content

NveilSpec

NveilSpec

NveilSpec(spec_blob)

Opaque visualization specification with local rendering.

Once generated, spec.render(new_data) is 100% local — no API call, no cost. Reusable on any data with compatible columns.

explanation property

explanation

Human-readable description of what was generated.

render

render(data=None)

Render using the auto-detected best backend (Plotly, VTK, DeckGL).

100% local execution — no API call.

If called within a session context (with nveil.session()), reuses the session's already-computed pipeline outputs — no pipeline re-run.

PARAMETER DESCRIPTION
data

pandas DataFrame, dict of DataFrames, numpy array, or list.

TYPE: Any DEFAULT: None

RETURNS DESCRIPTION
Any

Backend-specific figure object (plotly.graph_objects.Figure, etc.)

save

save(path)

Save to opaque .nveil file (encrypted binary).

load staticmethod

load(path)

Load from opaque .nveil file.