Skip to content

Commit

Permalink
Work to help restore sessions in Jupyter
Browse files Browse the repository at this point in the history
  • Loading branch information
astrofrog committed Aug 15, 2024
1 parent 6cb7094 commit f60a598
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions glue/core/application_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -364,10 +364,4 @@ def __setgluestate__(cls, rec, context):
# manually register the newly-created session, which
# the viewers need
context.register_object(rec['session'], self.session)
for i, tab in enumerate(rec['viewers']):
if self.tab(i) is None:
self.new_tab()
for v in tab:
viewer = context.object(v)
self.add_widget(viewer, tab=i, hold_position=True)
return self

0 comments on commit f60a598

Please sign in to comment.