API Reference
yaml2plot 2.0.0 exposes a streamlined, function-oriented public API built around three explicit steps:
Data Loading – Load raw SPICE data into Python with
yaml2plot.load_spice_raw()or letyaml2plot.plot()load it lazily from a file path.Configuration – Describe what you want to plot using
yaml2plot.PlotSpec(YAML, file, or dictionary input).Plotting – Call
yaml2plot.plot()to generate an interactive Plotly figure.
This page documents each public symbol in the order you will use them.
Main API Symbols
|
Create Plotly figure from data and PlotSpec configuration. |
|
Load one SPICE .raw file and return an xarray Dataset. |
|
Pydantic-based plot specification with fluent API. |
|
A dataset container for SPICE simulation data with optional metadata. |