Skip to content

Commit

Permalink
Add missing tree_pop() in autogui
Browse files Browse the repository at this point in the history
  • Loading branch information
mertemba committed Apr 29, 2024
1 parent 4ae13c6 commit 1a33b9f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions imviz/autogui.py
Original file line number Diff line number Diff line change
Expand Up @@ -266,6 +266,8 @@ def render(self, obj, name=""):
else:
if len(name) == 0:
viz.text(f"{name}: " + "???")
if tree_open:
viz.tree_pop()
return obj

obj_annots = getattr(obj, "__annotations__", {})
Expand Down

0 comments on commit 1a33b9f

Please sign in to comment.