update some examples
This commit is contained in:
parent
31d97d8df0
commit
efac8efa90
7 changed files with 76 additions and 67 deletions
|
|
@ -33,7 +33,9 @@ pyplot.show(block=False)
|
|||
# Create the layout from the contours
|
||||
#
|
||||
pat = Pattern()
|
||||
pat.shapes = [Polygon(vertices=vv) for vv in contours if len(vv) < 1_000]
|
||||
pat.shapes[(0, 0)].extend([
|
||||
Polygon(vertices=vv) for vv in contours if len(vv) < 1_000
|
||||
])
|
||||
|
||||
lib = {}
|
||||
lib['my_mask_name'] = pat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue