0
Problem with importing libs on solo learn code editor
I'm facing problem while import following libraries on solo learn. Is there anyone who knows how to import these libraries? Import matplotlib.pyplot as plt Import numpy as np
10 Réponses
0
Does your code use Import like in your question then maybe that's the problem. Should be lowercase import.
Otherwise post your code. Tried to import myself and worked for me.
0
No in my code everything is fine related to syntax error but still I am getting error
0
Can you post the code or atleast the error.
0
Yeah weird. Though you should put plt.savefig("plot.png") to display in sololearn.
0
But the error is at first line where I am importing libraries
0
May be by the way thank you so much for you help 💝
0
Searched online. If you copied it from a webpage or something there might be hidden characters in/instead of the whitespaces, I replaced the whitespaces with whitespaces and it works now.
PS add plt.savefig to show the plot in sololearn