DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PYTHON
how to plot a graph using matplotlib
from matplotlib import pyplot as plt plt.plot([0, 1, 2, 3, 4, 5], [0, 1, 4, 9, 16, 25]) plt.show()
PREVIOUS
NEXT
Tagged:
#plot
#graph
#matplotlib
ADD COMMENT
Topic
COMMENT
Name
3+8 =
Submit