import matplotlib.patches as patches path = [[.1, .4], [.2, .9], [.7, .3]] ax.add_patch(patches. ... Polygon(path)) fig.savefig("patch.png")
確定! 回上一頁