import matplotlib.pyplot as plt from PIL import Image image=Image.new("RGB",(180,120),(0,0,128)) #On appelle la procédure pour créer une étoile (hors de la boucle principale): plt.scatter(60, 60, s = 1000, c = 'white', marker = '*') plt.scatter(130, 60, s = 7000, c = 'red', marker = '*') plt.imshow(image) plt.show()