728x90
반응형
https://matplotlib.org/stable/gallery/shapes_and_collections/hatch_style_reference.html
Hatch style reference — Matplotlib 3.7.1 documentation
Note Click here to download the full example code Hatch style reference Hatches can be added to most polygons in Matplotlib, including bar, fill_between, contourf, and children of Polygon. They are currently supported in the PS, PDF, SVG, OSX, and Agg back
matplotlib.org
ex)
patches.Polygon([x1,y1],[x2,y2],[x3,y3],[x4,y4]], linewidth=1, alpha = 0.2, edgecolor='none', facecolor=color, linestyle='//')
728x90
반응형