From 15dc00b63f872ee1e53e640bd6ddb8ebd7a73617 Mon Sep 17 00:00:00 2001 From: Jan Petykiewicz Date: Sun, 17 May 2020 14:13:42 -0700 Subject: [PATCH] small example updates --- examples/ellip_grating.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/examples/ellip_grating.py b/examples/ellip_grating.py index e6fe438..948df42 100644 --- a/examples/ellip_grating.py +++ b/examples/ellip_grating.py @@ -13,9 +13,12 @@ def main(): pat.shapes.append(shapes.Arc( radii=(rmin, rmin), width=0.1, - angles=(-numpy.pi/4, numpy.pi/4) + angles=(-numpy.pi/4, numpy.pi/4), + layer=(0, 0), )) + pat.labels.append(masque.Label(string='grating centerline', offset=(1, 0), layer=(1, 2))) + pat.scale_by(1000) pat.visualize() pat2 = pat.copy()