# Set the overall figure size
plt.figure(figsize=(12,11))# Plot 1: age_at_hct vs gvhd_proph
plt.subplot(2,2,1)
sns.histplot(data=data_train, x='age_at_hct', hue='gvhd_proph', multiple='stack', palette='Blues')
plt.title("Stacked Histogram of Age at HCT and GVHD Prophylaxis")
plt.xlabel("Age at HCT")
plt.ylabel("Count")# Plot 1: age_at_hct vs tbi_status
plt.subplot(2,2,2)
sns.histplot(data=data_train, x='age_at_hct', hue='tbi_status', multiple='stack', palette='Blues')
plt.title("Stacked Histogram of Age at HCT and Tbi-Status")
plt.xlabel("Age at HCT")
plt.ylabel("Count")
plt.tight_layout()
plt.show()
ودي الرسم
المشكله في الرسم الاول عمود الgvhd_proph داخل جوه الرسم فا ازي احل المشكله دي و يكون العمود بر الرسم ؟
السؤال
Ali Ahmed55
السلام عليكم
ودي الرسم
المشكله في الرسم الاول عمود الgvhd_proph داخل جوه الرسم فا ازي احل المشكله دي و يكون العمود بر الرسم ؟
6 أجوبة على هذا السؤال
Recommended Posts
انضم إلى النقاش
يمكنك أن تنشر الآن وتسجل لاحقًا. إذا كان لديك حساب، فسجل الدخول الآن لتنشر باسم حسابك.