散点图显示:
import matplotlib.pyplotasplt x = [1.0,1.0,0.0,0.0] y = [1.1,1.0,0.0,0.1] plt.figure(figsize=(10,8)) forindexinrange(len(x)):#索引取值一一对应遍历 画点 plt.scatter(x[index
京公网安备 11010502049817号