You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

20 lines
316 B
Python

"""
Simple Pyplot example
PyPlot is the module you should be using for non-interactive scripts.
"""
import matplotlib.pyplot
def create_graph():
x_nums = [1, 2, 3]
y_nums = [2, 4, 6]
matplotlib.pyplot.plot(x_nums, y_nums)
matplotlib.pyplot.show()
if __name__ == "__main__":
create_graph()