Skip to content

Commit

Permalink
{#179|BUG FIX}: fix for ipython>8.17.0 (#180)
Browse files Browse the repository at this point in the history
* fix for ipython>8.17.0

* Update halo_notebook.py

Close widget on clear

---------

Co-authored-by: Manraj Singh <[email protected]>
  • Loading branch information
guigoruiz1 and manrajgrover authored Jun 16, 2024
1 parent 53bae63 commit b76fa94
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion halo/halo.py
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ def __init__(

environment = get_environment()

def clean_up():
def clean_up(args):
"""Handle cell execution"""
self.stop()

Expand Down
1 change: 1 addition & 0 deletions halo/halo_notebook.py
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ def clear(self):
self.output.outputs += self._output(self.CLEAR_LINE)

self.output.outputs = self._output()
self.output.close()
return self

def _render_frame(self):
Expand Down

0 comments on commit b76fa94

Please sign in to comment.