Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -110,8 +110,8 @@ def run_turkish():
|
|
110 |
plt.title(f'{lecture_name} Not Sayıları Grafiği')
|
111 |
plt.xlabel('Notlar')
|
112 |
plt.ylabel('Adet')
|
113 |
-
plt.xticks(range(0, int(perfect_score), note_s_axis_diff), rotation=90)
|
114 |
-
plt.yticks(range(0, max(counts), amount_s_axis_diff), rotation=0)
|
115 |
|
116 |
# Grafik bilgileri
|
117 |
info_text = (
|
@@ -282,8 +282,8 @@ def run_arabic():
|
|
282 |
plt.title(f'رسم توزيع الدرجات لمادة {lecture_name}')
|
283 |
plt.xlabel('الدرجات')
|
284 |
plt.ylabel('التكرار')
|
285 |
-
plt.xticks(range(0, int(perfect_score), note_s_axis_diff), rotation=90)
|
286 |
-
plt.yticks(range(0, max(counts), amount_s_axis_diff), rotation=0)
|
287 |
|
288 |
# إضافة معلومات إلى الرسم البياني
|
289 |
info_text = (
|
@@ -452,8 +452,8 @@ def run_english():
|
|
452 |
plt.title(f'{lecture_name} Score Distribution')
|
453 |
plt.xlabel('Scores')
|
454 |
plt.ylabel('Count')
|
455 |
-
plt.xticks(range(0, int(perfect_score), note_s_axis_diff), rotation=90)
|
456 |
-
plt.yticks(range(0, max(counts), amount_s_axis_diff), rotation=0)
|
457 |
|
458 |
# Add graph information
|
459 |
info_text = (
|
|
|
110 |
plt.title(f'{lecture_name} Not Sayıları Grafiği')
|
111 |
plt.xlabel('Notlar')
|
112 |
plt.ylabel('Adet')
|
113 |
+
plt.xticks(range(0, int(perfect_score)+note_s_axis_diff, note_s_axis_diff), rotation=90)
|
114 |
+
plt.yticks(range(0, max(counts)+amount_s_axis_diff, amount_s_axis_diff), rotation=0)
|
115 |
|
116 |
# Grafik bilgileri
|
117 |
info_text = (
|
|
|
282 |
plt.title(f'رسم توزيع الدرجات لمادة {lecture_name}')
|
283 |
plt.xlabel('الدرجات')
|
284 |
plt.ylabel('التكرار')
|
285 |
+
plt.xticks(range(0, int(perfect_score)+note_s_axis_diff, note_s_axis_diff), rotation=90)
|
286 |
+
plt.yticks(range(0, max(counts)+amount_s_axis_diff, amount_s_axis_diff), rotation=0)
|
287 |
|
288 |
# إضافة معلومات إلى الرسم البياني
|
289 |
info_text = (
|
|
|
452 |
plt.title(f'{lecture_name} Score Distribution')
|
453 |
plt.xlabel('Scores')
|
454 |
plt.ylabel('Count')
|
455 |
+
plt.xticks(range(0, int(perfect_score)+note_s_axis_diff, note_s_axis_diff), rotation=90)
|
456 |
+
plt.yticks(range(0, max(counts)+amount_s_axis_diff, amount_s_axis_diff), rotation=0)
|
457 |
|
458 |
# Add graph information
|
459 |
info_text = (
|