79304411

Date: 2024-12-23 22:55:40
Score: 0.5
Natty:
Report link

You can choose the location of each text as you wish using the example below:

texts

 = []
for idx in range(0, len(x),2):
    if idx in list(range(16, 24)):
        pos_x, pos_y = x[idx] - 0.35, y[idx] + 0.01
    else:
        pos_x, pos_y = x[idx] + 0.25, y[idx] + 0.01
    texts.append(
        ax.annotate(
            idx,
            xy=(pos_x, pos_y),
            fontsize=10,
            zorder=100,
        )
    )

plot

Reasons:
  • Probably link only (1):
  • Has code block (-0.5):
Posted by: rehaqds