matplotlib 画箭头的两种方式

def drawArrow(A, B): fig = plt.figure(figsize=(5, 5)) print("xasxcsasdc") ax = fig.add_subplot(121) # fc: filling color # ec: edge color """第一种方式""" ax.arrow(A[0], A[1],
相关文章
相关标签/搜索