"""Display the saved calculation with Atomli. Data units are recorded in the JSON file."""
import json
from pathlib import Path
from atomli.visualize import Plot

payload = json.loads(Path("raman.json").read_text())
provenance = payload.pop("provenance")
figure = Plot(**payload)
figure.write_html("figure.html")
figure  # Display this value in a notebook cell.
