plot(x, y, marker='o', linestyle='-') # Add an annotation with LaTeX text formatting plt.annotate(r'\textbf{Max Value}', xy=(x[y.index(max(y))], max(y)), xytext=(2.5, 8), arrowprops=dict(facecolor='black', shrink=0.05), fontsize=12, color='blue', bbox=dict(boxstyle='...