File size: 738 Bytes
2955ecc | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 | #!/usr/bin/env python3
"""Supplementary figure: exact constructed no-crossing-horizon example."""
from __future__ import annotations
import matplotlib.pyplot as plt
from scale_figure_parts import draw_no_crossing_example, load_and_calculate
from style import FULL_WIDTH_IN, HERE, save_figure
OUTPUT = HERE / "fig_no_crossing_example.pdf"
def main() -> None:
values = load_and_calculate()
fig, ax = plt.subplots(figsize=(FULL_WIDTH_IN, 2.35))
fig.subplots_adjust(left=0.085, right=0.985, bottom=0.21, top=0.965)
draw_no_crossing_example(ax, values)
save_figure(
fig,
OUTPUT,
subject="Constructed nine-hour local no-crossing-horizon example",
)
if __name__ == "__main__":
main()
|