legend command shows no graph
i put
x=linspace(0,50,10)
plot(x,sin(x))
y=linspace(0,50,500)
plot(y,sin(y))
legend(['sin(x)','sin(y)'])
output : blank graph / no graph
version : ipython3 7.19.0
python 3.8.6
windows 10 1806
Python-3.4.3 Multiple-plots 03-04 min 10-20 sec
Answers:
Please try without the legend command to understand if the plot displays, please check if you get any warning or error in the commandline. Please let us know here in the comments to help you further