Answers for "pyplot module"

1

pyplot python

import numpy as np
import matplotlib.pyplot as plt

x = np.array([1, 3, 4, 6])
y = np.array([2, 3, 5, 1])
plt.plot(x, y)

plt.show()
Posted by: Guest on December-22-2020

Python Answers by Framework

Browse Popular Code Answers by Language