Let's plot random numbers:
import matplotlib.pyplot as plt import numpy as np x = np.random.randn(500) y = np.random.randn(500) fig, ax = plt.subplots() ax.scatter(x, y) fig