import matplotlib.pyplot as plt x_value = list(range(1, 1001)) y_value = [x**2 for x in x_value] plt.scatter(x_value, y_value, color = y_value, cmap = plt.cm.Blues, edgecolors="none", s=40) plt.show()
import matplotlib.pyplot as plt x_value = list(range(1, 1001)) y_value = [x**2 for x in x_value] plt.scatter(x_value, y_value, color = y_value, cmap = plt.cm.Blues, edgecolors="none", s=40) plt.show()
import matplotlib.pyplot as plt x_value = list(range(1, 1001)) y_value = [x**2 for x in x_value] plt.scatter(x_value, y_value, c = y_value, cmap = plt.cm.Blues, edgecolors="none", s=40) plt.show()