+3

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

Hrishikesh Gaikwad

3 Answers

New Answer

+4

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.

+2

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

+1

Thank you guys... love this community :)