Answers for "matplotlib plot 2d point"

0

matplotlib plot 2d point

import numpy as np
import matplotlib.pyplot as plt

N = 50
x = np.random.rand(N)
y = np.random.rand(N)

plt.scatter(x, y)
plt.show()
Posted by: Guest on July-07-2021

Browse Popular Code Answers by Language