I am trying this code but cannot find labels in the plot…what is the reason??
import matplotlib.pyplot as plt
import numpy as np
x=np.arange(10)
y=x**2+5
y2=x
plt.figure(figsize=(10,10))
plt.style.use(“seaborn”)
plt.plot(x,y,color=‘red’,label=“apple”,marker=‘o’)
plt.plot(x,y2,color=‘green’,linestyle=‘dashed’,label=‘kiwi’,marker=’*’)
plt.xlabel=(“the x”)
plt.ylabel=(“the y”)
plt.show()
