import gdsfactory as gf

gf.gpdk.PDK.activate()

c = gf.components.taper(length=10, width1=0.5, with_two_ports=True, cross_section='strip', port_names=('o1', 'o2'), port_types=('optical', 'optical'), with_bbox=True).copy()
c.draw_ports()
c.plot()