Skip to content

Commit 5d51a6e

Browse files
Fix not enclosed function (#41)
1 parent 9c7c4f6 commit 5d51a6e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

analysis/plot_results.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ def plot_eng_drop_line(
101101
output_path: Path,
102102
figsize: Optional[tuple[int, int]] = (18, 5),
103103
top_n: Optional[int] = None,
104-
104+
):
105105
from scipy.stats import pearsonr, spearmanr
106106

107107
df = pd.read_csv(input_path)
@@ -114,7 +114,7 @@ def plot_eng_drop_line(
114114
logging.info(f"Showing top {top_n}")
115115
data = data.head(top_n)
116116
model_types = model_types[:top_n]
117-
117+
118118
fig, ax = plt.subplots(figsize=figsize)
119119
mrewardbench_scores = data["Avg_Multilingual"]
120120
rewardbench_scores = data["eng_Latn"]

0 commit comments

Comments
 (0)