New course! Every coder should learn Generative AI!
Try a free lesson+ 1
Why is this code showing no output
1 Answer
+ 10
Hello zeeshan
On Sololearn you need to save the plot before plt.show():
#name doesn't matter but I think it need to be a png file
line 13: plt.savefig('plot.png')
line 14: plt.show()