Browse Source

[FIX] plot in text example

tags/v0.3.2
Yi Xie 2 years ago
parent
commit
76cc5910f7
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      examples/dataset_text_workflow/main.py

+ 1
- 1
examples/dataset_text_workflow/main.py View File

@@ -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"],


Loading…
Cancel
Save