Annotation 标注

Annotation 标注 1、画出基本图 当图线中某些特殊地方需要标注时,我们可以使用 annotation. matplotlib 中的 annotation 有两种方法, 一种是用 plt 里面的 annotate,一种是直接用 plt 里面的 text来写标注. 首先,我们在坐标轴中绘制一条直线. >>> import matplotlib.pyplot as plt >>> import
相关文章
相关标签/搜索