(ax)
| 95 | |
| 96 | |
| 97 | def add_compact_legend(ax) -> None: |
| 98 | ax.legend( |
| 99 | loc="upper right", |
| 100 | frameon=True, |
| 101 | framealpha=0.95, |
| 102 | edgecolor="#D6DAE0", |
| 103 | borderpad=0.3, |
| 104 | labelspacing=0.3, |
| 105 | handlelength=1.4, |
| 106 | handletextpad=0.45, |
| 107 | ) |
| 108 | |
| 109 | |
| 110 | def save_benchmark_figure(fig, path: str | Path) -> None: |
no outgoing calls
no test coverage detected