السلام عليكم
عند عمل تشغيل الكود ده بيظهر الرسم البياناتي مره صور فارغ ومره صور فيه الرسم فا اي حل المكشله دي انا عاوز تظهر صوره الرسم فقط
# Create a bar plot for statistics such as the mean and standard deviation.
plt.figure(figsize=(12,11))
# Choose values to plot (eg mean and std)
statistical[['mean' , 'std' , 'min' , "25%" , "50%" , "75%", 'max']].plot(kind='bar',figsize=(14,8))
plt.title("Statistical Summary of Diabetes Dataset")
plt.xlabel("Features")
plt.ylabel("Value")
plt.legend(["Mean" , "Std" , "Min" , "25%" , "50%" , "75%" "Max"])
plt.show()
ودي البيانات
diabetes_clean.csv