python畫圖筆記——註釋

一.註釋簡介 註釋位於matplotlib.pyplot下,須要須要實例化後再在畫布上填寫註釋 import matplotlib.pyplot as plt fig=plt.figure() ax=fig.add_subplot(1,1,1) 註釋有三種,分別爲 ax.text():文本註釋,只能填寫文本 ax.arrow():箭頭標記,不能填寫文本 ax.annotate():箭頭註釋,在箭頭
相關文章
相關標籤/搜索