How do we plot graph in python??😢why I'm unable to import matplotlib in python .what to do???😢😢 | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 15

How do we plot graph in python??😢why I'm unable to import matplotlib in python .what to do???😢😢

Actually matplotlib is a module related to plot /graphics but I am unable to import it .Is there anyone tell me what to do?? https://code.sololearn.com/cusst8QR6cIz/?ref=app

27th Jul 2019, 8:44 AM
SωAti
SωAti - avatar
2 Answers
+ 1
If you insist on python and inside sololearn, then maybe the codes in this assignment can give you some idea how to make a graph on the console. Not as accurate as an actual drawn plot, but you can get creative with it. https://www.sololearn.com/learn/4916/?ref=app Otherwise I would just suggest to use javascript and canvas for prettier visualization options...
27th Jul 2019, 9:20 AM
Tibor Santa
Tibor Santa - avatar
0
You cannot use matplotlib on sololearn, unfortunately. We are limited to standard libraries and a few extra like numpy. But nothing that requires graphics / gui
27th Jul 2019, 9:05 AM
Tibor Santa
Tibor Santa - avatar