affichage des figures sous pyhon
Salut a tous, SVP aidez moi
Voila la dernière étape de mon code la ou je veux visualiser mes résultats, mais toujours j'ai le problème "unexpected indent "
Code:
1 2 3 4 5 6 7 8
| for axis in eigenvectors:
start, end = data, data + sigma * axis
ax.annotate("", xy=end, xycoords='data',
xytext=start, textcoords='data',
arrowprops=dict(facecolor='red', width=2.0))
ax.set_aspect('equal')
plt.grid() plt.xticks(rotation=90) plt.savefig('pca_example_3.png',bbox_inches='tight') plt.show() |
Citation:
line 118
ax.annotate("", xy=end, xycoords='data',
^
IndentationError: unexpected indent
Aidez moi SVP