Why matplotlib library is not working? | SoloLearn: Learn to code for FREE!


Why matplotlib library is not working?

What's wrong in this code? https://code.sololearn.com/cIw2706I55Dg/?ref=app

11/8/2019 5:09:56 PM


3 Answers

New Answer


You have two typos in your code: it is 'xlabel' and 'ylabel' instead of 'xlable' and 'ylable'. And in addition to that you have to run your code on a Python installation on your computer or your android device with Pydroid3 in order to work properly. This kind of GUI-programs don't work in sololearn playground.


modules like matplotlib and turtle will not work on Sololearn basically all the non-web languages don't support any graphic libraries/modules here.


Thank you guys... love this community :)