الا والله ده الكود بتاعي
import matplotlib.pyplot as plt
import seaborn as sns
# Assuming you have a DataFrame called 'data'
# Set the figure size for better visualization
plt.figure(figsize=(12, 6))
# Plotting the distribution of 'x_1' with Kernel Density Estimate (KDE)
plt.subplot(1, 3, 1)
sns.histplot(data['x_1'], kde=True)
plt.title('Distribution of x_1')
# Plotting the distribution of 'y_1' with KDE
plt.subplot(1, 3, 2)
sns.histplot(data['y_1'], kde=True)
plt.title('Distribution of y_1')
# Plotting the distribution of 'z_1' with KDE
plt.subplot(1, 3, 3)
sns.histplot(data['z_1'], kde=True)
plt.title('Distribution of z_1')
# Adjusts the layout to prevent overlapping of plots
plt.tight_layout()
# Display all plots
plt.show()