Matplotlib Pyplot
Matplotlib Pyplot
Dark mode
Dark code
HTML
y gCSS JAVASCRIPT SQL PYTHON JAVA PHP BOOTSTRAP HOW TO W3.CSS C C++ C# REACT R JQUERY DJANGO
Python PIP
ADVERTISEMENT
Python Try...Except
Python User Input
Python String Formatting
File Handling
Python File Handling
Matplotlib Pyplot
Python Read Files
Python Write/Create Files
❮ Previous Next ❯
Python Delete Files
plt.plot(xpoints, ypoints)
plt.show()
Result:
COLOR PICKER
Try it Yourself »
You will learn more about drawing (plotting) in the next chapters.
ADVERTISEMENT
ADVERTISEMENT
FORUM | ABOUT
W3Schools is optimized for learning and training. Examples might be simplified to improve reading and learning. Tutorials, references, and examples are constantly reviewed to avoid errors, but we
cannot warrant full correctness of all content. While using W3Schools, you agree to have read and accepted our terms of use, cookie and privacy policy.