fork download
  1. import seaborn as sns
  2. import matplotlib.pyplot as plt
  3.  
  4. # Sample data
  5. x = [1, 2, 3, 4, 5]
  6. y = [2, 4, 5, 4, 6]
  7.  
  8. # Create scatter plot using Seaborn
  9. sns.scatterplot(x=x, y=y)
  10. plt.title('Scatter Plot')
  11. plt.xlabel('X')
  12. plt.ylabel('Y')
  13. plt.show()
  14.  
Success #stdin #stdout 2.91s 120036KB
stdin
Standard input is empty
stdout
Standard output is empty