目录 Bezier example 用path来画柱状图 随便玩玩 import matplotlib.pyplot as plt from matplotlib.path import Path import matplotlib.patches as patches Path 通过一个(N, 2)的包含(x, y)的点来实例比如,我们想要画一个标准的正方形: verts = [ (0., 0.), # left, bottom (0., 1.), # left, top (1., 1.),…