WP42: figure 3 labels
12 changed files +1 −1
modified
analysis/figures/make_figures.py
+1 −1
@@ -20,7 +20,7 @@ def fig_completion_by_arm(t1, t2, tag): | |||||
| 20 | x = np.arange(len(t1)); ax.bar(x, t1["acceptance_taskw"], color=[COL[a] for a in t1.arm], width=0.55) | 20 | x = np.arange(len(t1)); ax.bar(x, t1["acceptance_taskw"], color=[COL[a] for a in t1.arm], width=0.55) | ||
| 21 | ax.bar(x + 0.0, t1["det_completion"], facecolor="none", edgecolor="#444", width=0.55, linewidth=0.8, linestyle="--", label="deterministic completion") | 21 | ax.bar(x + 0.0, t1["det_completion"], facecolor="none", edgecolor="#444", width=0.55, linewidth=0.8, linestyle="--", label="deterministic completion") | ||
| 22 | for i, v in enumerate(t1["acceptance_taskw"]): ax.text(i, v + 0.02, f"{v:.0%}", ha="center", fontsize=8) | 22 | for i, v in enumerate(t1["acceptance_taskw"]): ax.text(i, v + 0.02, f"{v:.0%}", ha="center", fontsize=8) | ||
| 23 | − ax.set_xticks(x); ax.set_xticklabels([LABEL[a] for a in t1.arm], rotation=0, fontsize=8); ax.set_ylim(0, 1.05); ax.set_ylabel("scenario-weighted acceptance rate") | 23 | + ax.set_xticks(x); ax.set_xticklabels([LABEL[a].replace(" ", "\n", 1) for a in t1.arm], rotation=0, fontsize=7); ax.set_ylim(0, 1.05); ax.set_ylabel("scenario-weighted acceptance rate") | ||
| 24 | ax.legend(loc="upper left", fontsize=8); save(fig, f"fig03_acceptance_by_arm_{tag}") | 24 | ax.legend(loc="upper left", fontsize=8); save(fig, f"fig03_acceptance_by_arm_{tag}") | ||
| 25 | 25 | ||||
| 26 | def fig_contrasts(t2, tag): | 26 | def fig_contrasts(t2, tag): | ||
modified
analysis/figures/out/fig03_acceptance_by_arm_pilot.pdf
+0 −0
Binary file not shown.
modified
analysis/figures/out/fig03_acceptance_by_arm_pilot.png
+0 −0
Binary file not shown.
modified
analysis/figures/out/fig04_alf_curves_pilot.pdf
+0 −0
Binary file not shown.
modified
analysis/figures/out/fig05_cost_quality_pilot.pdf
+0 −0
Binary file not shown.
modified
analysis/figures/out/fig06_dependency_pilot.pdf
+0 −0
Binary file not shown.
modified
analysis/figures/out/fig07_tool_effects_pilot.pdf
+0 −0
Binary file not shown.
modified
analysis/figures/out/fig08_failure_severity_pilot.pdf
+0 −0
Binary file not shown.
modified
analysis/figures/out/fig09_recovery_pilot.pdf
+0 −0
Binary file not shown.
modified
analysis/figures/out/fig11_time_cdf_pilot.pdf
+0 −0
Binary file not shown.
modified
analysis/figures/out/fig12_judge_agreement_pilot.pdf
+0 −0
Binary file not shown.
modified
analysis/figures/out/fig14_occupation_heterogeneity_pilot.pdf
+0 −0
Binary file not shown.