fork download
  1. import seaborn as sns
  2. import matplotlib.pyplot as plt
  3.  
  4. # Updated marks data
  5. marks = [65, 72, 78, 81, 69, 88, 74, 90, 82, 86, 79, 68, 85, 92, 77]
  6.  
  7. # Plotting the histogram with KDE
  8. plt.figure(figsize=(8, 6))
  9. sns.histplot(marks, kde=True, bins=10, color='blue', edgecolor='black')
  10. plt.grid(True)
  11. plt.title("Distribution of Marks")
  12. plt.xlabel("Marks")
  13. plt.ylabel("Frequency")
  14. plt.show()
Success #stdin #stdout 2.27s 121520KB
stdin
Standard input is empty
stdout
Standard output is empty