import gdsfactory as gf

gf.gpdk.PDK.activate()

c = gf.components.cutback_2x2(component='mmi2x2', cols=4, rows=5, port1='o1', port2='o2', port3='o3', port4='o4', bend180='bend_circular180', mirror=False, cross_section='strip', straight='straight').copy()
c.draw_ports()
c.plot()