Matplotlib -Streudiagramm -Annotation Custom Point Annotation

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