Skip to content

Commit b72b7b4

Browse files
committed
fixed chip.show() -> changed fig.show() to plt.show() to block the python process
1 parent 5dd4d06 commit b72b7b4

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ Unreleased
1010
* Fixed evaluation of width-parameter in add_parametrized_path
1111
* Stopped testing with Python 3.5, as it reached it's end-of-life and added a warning
1212
* Deprecated gdsCAD, as it isn't compatible with Python 3
13+
* Fixed cell.show
1314

1415
1.1.2
1516
-----

gdshelpers/geometry/chip.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -531,7 +531,7 @@ def show(self, layers: Optional[List[int]] = None, padding=5):
531531
ax.set_xlim(bounds[0] - padding, bounds[2] + padding)
532532
ax.set_ylim(bounds[1] - padding, bounds[3] + padding)
533533
ax.set_aspect(1)
534-
fig.show()
534+
plt.show()
535535

536536
def add_dlw_marker(self, label: str, layer: int, origin):
537537
"""

0 commit comments

Comments
 (0)