79450450

Date: 2025-02-19 07:09:42
Score: 2
Natty:
Report link

x = [1, 2, 3, 4, 5]

y = [2, 4, 6, 8, 10]

Create a line plot

plt.plot(x, y, label='Line 1')

plt.title("Line Plot Example")

plt.xlabel("X-axis")

plt.ylabel("Y-axis")

plt.legend()

plt.show()

Reasons:
  • Low length (0.5):
  • No code block (0.5):
  • Low reputation (1):
Posted by: 23CO107deepak