Annotation de point personnalisée Pyplot Satch
import matplotlib.pyplot as plt
x = range(10)
y = range(10)
n = [f'Point: {i}' for i in x]
fig, ax = plt.subplots()
fig = plt.scatter(x, y)
for i, txt in enumerate(n):
ax.annotate(txt, (x[i], y[i]))
Arthur Elskens