Skip to content

Commit

Permalink
fixed chip.show() -> changed fig.show() to plt.show() to block the py…
Browse files Browse the repository at this point in the history
…thon process
HelgeGehring committed Nov 24, 2020

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent 5dd4d06 commit b72b7b4
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -10,6 +10,7 @@ Unreleased
* Fixed evaluation of width-parameter in add_parametrized_path
* Stopped testing with Python 3.5, as it reached it's end-of-life and added a warning
* Deprecated gdsCAD, as it isn't compatible with Python 3
* Fixed cell.show

1.1.2
-----
2 changes: 1 addition & 1 deletion gdshelpers/geometry/chip.py
Original file line number Diff line number Diff line change
@@ -531,7 +531,7 @@ def show(self, layers: Optional[List[int]] = None, padding=5):
ax.set_xlim(bounds[0] - padding, bounds[2] + padding)
ax.set_ylim(bounds[1] - padding, bounds[3] + padding)
ax.set_aspect(1)
fig.show()
plt.show()

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

0 comments on commit b72b7b4

Please sign in to comment.