import gdsfactory as gf

gf.gpdk.PDK.activate()

c = gf.components.terminator(length=50, tapered_width=0.2, doping_layers=('NPP',), doping_offset=1).copy()
c.draw_ports()
c.plot()