SyntaxFix
Write A Post
Hire A Developer
Questions
If you have a numpy array you can do this:
import numpy as np from matplotlib import pyplot as plt data = np.array([ [1, 2], [2, 3], [3, 6], ]) x, y = data.T plt.scatter(x,y) plt.show()