Skip to content

Commit ab33209

Browse files
author
bgeurten
committed
fix(plots): replace unicode rₛ with mathtext $r_s$ (Liberation Sans glyph warning)
1 parent fffdf0e commit ab33209

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/digimuh/analysis_00c_plots.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -402,7 +402,7 @@ def plot_spearman(spearman: pd.DataFrame, out_dir: Path) -> None:
402402
ax.hist(vals, bins=30, color=color, edgecolor="white", alpha=0.8)
403403
ax.axvline(vals.median(), color=COLOURS["fit_line"], linestyle="--",
404404
label=f"Median = {vals.median():.3f}")
405-
ax.set_xlabel(f"Spearman rₛ ({label})")
405+
ax.set_xlabel(f"Spearman $r_s$ ({label})")
406406
ax.set_ylabel("Number of animals")
407407
ax.legend(fontsize=9)
408408

0 commit comments

Comments
 (0)