Skip to content

Commit 06864c3

Browse files
committed
Swap colors in average t-test figure for consistency
Figure 2B color scheme: - Average t-statistic: gray (was black) - Threshold line: black (was gray) Now consistent with Figure 2A where threshold is black. Regenerated all 8 t-test figures (baseline + 3 variants × 2 figures). All figures now show: - Adaptive p<0.001 threshold based on actual df values - Bootstrap 95% CI showing threshold variability - Solid black threshold line (not dashed) - Correct crossing epochs (e.g., Twain at epoch 77, not 50) Related to #33
1 parent ca9f2e8 commit 06864c3

File tree

9 files changed

+4
-4
lines changed

9 files changed

+4
-4
lines changed

llm_stylometry/visualization/t_tests.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -304,24 +304,24 @@ def generate_t_test_avg_figure(
304304
# Create figure
305305
fig, ax = plt.subplots(figsize=figsize)
306306

307-
# Plot average t-statistic
307+
# Plot average t-statistic (gray for consistency with individual figure)
308308
sns.lineplot(
309309
data=t_raws_df,
310310
x="Epoch",
311311
y="t_raw",
312312
ax=ax,
313313
legend=False,
314-
color="black", # Set line color to black
314+
color="gray", # Set line color to gray
315315
)
316316

317-
# Plot adaptive threshold with bootstrap 95% CI (solid gray line)
317+
# Plot adaptive threshold with bootstrap 95% CI (solid black line, consistent with 2a)
318318
if not threshold_df.empty:
319319
sns.lineplot(
320320
data=threshold_df,
321321
x="Epoch",
322322
y="threshold",
323323
ax=ax,
324-
color="gray",
324+
color="black",
325325
linewidth=2,
326326
linestyle="-", # Solid line
327327
errorbar='ci', # Bootstrap 95% CI

paper/figs/source/t_test.pdf

-34 Bytes
Binary file not shown.

paper/figs/source/t_test_avg.pdf

-30 Bytes
Binary file not shown.
7.64 KB
Binary file not shown.
9.26 KB
Binary file not shown.
9.99 KB
Binary file not shown.
7.5 KB
Binary file not shown.
9.21 KB
Binary file not shown.

paper/figs/source/t_test_pos.pdf

9.92 KB
Binary file not shown.

0 commit comments

Comments
 (0)