gdsfactory / skywater130

skywater 130nm pdk
https://gdsfactory.github.io/skywater130/
MIT License
26 stars 11 forks source link

c.plot() doesn't keep the image window open #57

Closed saicharan0112 closed 1 year ago

saicharan0112 commented 1 year ago

I was trying to implement the nmos pcell shown here - https://gdsfactory.github.io/skywater130/_autosummary/sky130.pcells.nmos.html. But while running the code from the command line with the "c.plot()" inside a script, I see that a window pops up but it doesn't stay and closes itself automatically. How do I keep the window open to view the layout?

joamatab commented 1 year ago

Hi Sai,

you can run c.plot(blocking=True)

saicharan0112 commented 1 year ago

Thanks @joamatab, it worked!