File tree Expand file tree Collapse file tree 2 files changed +21
-1
lines changed
Expand file tree Collapse file tree 2 files changed +21
-1
lines changed Original file line number Diff line number Diff line change 11# Specify files that shouldn't be modified by Fern
22src/axiomatic/axtract.py
3- src/axiomatic/magic.py
3+ src/axiomatic/magic.py
4+ src/axiomatic/pic_helpers.py
Original file line number Diff line number Diff line change 1+ import iklayout # type: ignore
2+
3+
4+ def plot_circuit (component ):
5+ """
6+ Show the interactive component layout with iKlayout.
7+ See: https://pypi.org/project/iklayout/
8+
9+ In order to make this interactive, ensure that you have enabled
10+ interactive widgets. This can be done with %matplotlib widget in
11+ Jupyter notebooks.
12+
13+ Args:
14+ component: GDS factory Component object.
15+ See https://gdsfactory.github.io/gdsfactory/_autosummary/gdsfactory.Component.html
16+ """
17+ path = component .write_gds ().absolute ()
18+
19+ return iklayout .show (path )
You can’t perform that action at this time.
0 commit comments