import gdsfactory as gf

gf.gpdk.PDK.activate()

c = gf.components.taper_electrical(length=10, width1=0.5, with_two_ports=True, cross_section='metal_routing', port_names=('e1', 'e2'), port_types=('electrical', 'electrical'), with_bbox=True).copy()
c.draw_ports()
c.plot()