标签:range 分享 ann import class image nump highlight ges
EG1:
import numpy as np import matplotlib.pyplot as plt y = np.arange(-5, 6,1) plt.plot(y, y*y) plt.annotate(‘Annotate‘ , xy=(0,1) , xytext=(0,5) , arrowprops=dict(facecolor=‘r‘ , frac=0.2 ) ) plt.show()
标签:range 分享 ann import class image nump highlight ges
原文地址:http://www.cnblogs.com/zsr0401/p/6427959.html