trace-artifact / figures /make_scale_states.py
idacy's picture
TRACE artifact: framework, corpus, instrumented case, provider case, evaluators, figures
2955ecc verified
Raw
History Blame Contribute Delete
631 Bytes
#!/usr/bin/env python3
"""Figure 3: finite local compute-bound state geometry."""
from __future__ import annotations
import matplotlib.pyplot as plt
from scale_figure_parts import draw_state_geometry
from style import COLUMN_WIDTH_IN, HERE, save_figure
OUTPUT = HERE / "fig_scale_states.pdf"
def main() -> None:
fig, ax = plt.subplots(figsize=(COLUMN_WIDTH_IN, 3.05))
fig.subplots_adjust(left=0.22, right=0.965, bottom=0.18, top=0.97)
draw_state_geometry(ax)
save_figure(
fig,
OUTPUT,
subject="Finite local compute-bound state geometry",
)
if __name__ == "__main__":
main()