Quyidagi python skripti `matplotlib` kutubxonasidan foydalanib, ma'lumotlar matnli fayllardan chizilgan. Skript bir nechta fayl nomlarini buyruq satri argumenti sifatida qabul qiladi va har bir fayldan ma'lumotlarni bir xil grafikda chizib beradi: ``python import matplotlib.pyplot as plt import sys def read_data_from_file_file: xs = [] ys = [] with open{(filename, 'r') as file: for line in file: # Splitting the line by space to get x and y values, x y = map{(float, line.split} xs.append{(x.append{(y} return xs, def def. ys{(main{(sys.argv} < 2:"Usage file:
spam fails_task lang_mismatch pii not_appropriate hate_speech sexual_content quality toxicity humor helpfulness creativity violence