From 76cc5910f7d3959b2bf5aaac948ae9968f060db2 Mon Sep 17 00:00:00 2001 From: Yi Xie Date: Mon, 4 Dec 2023 22:55:52 +0800 Subject: [PATCH] [FIX] plot in text example --- examples/dataset_text_workflow/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/dataset_text_workflow/main.py b/examples/dataset_text_workflow/main.py index 3e1cb72..1153e7c 100644 --- a/examples/dataset_text_workflow/main.py +++ b/examples/dataset_text_workflow/main.py @@ -393,7 +393,7 @@ class TextDatasetWorkflow: mean_curve, std_curve = np.array(mean_curve), np.array(std_curve) plt.plot(mean_curve, **style, label=label) plt.fill_between( - range(min(len(n_labeled_list), len(repeated_list))), + range(len(mean_curve)), mean_curve - 0.5 * std_curve, mean_curve + 0.5 * std_curve, color=style["color"],