📅  最后修改于: 2022-03-11 14:45:49.574000             🧑  作者: Mango
import matplotlib.pyplot as plt
a = random(100)*10
b = range(100)
fig = plt.figure(1)
ax = fig.add_subplot(111, axisbg='black')
ax.scatter(a,b)
fig.canvas.draw()