import gdsfactory as gf

gf.gpdk.PDK.activate()

c = gf.components.litho_ruler(height=2, width=0.5, spacing=2, scale=(3, 1, 1, 1, 1, 2, 1, 1, 1, 1), num_marks=21, layer='WG').copy()
c.draw_ports()
c.plot()