Skip to content

Commit

Permalink
Add MultiRunManager.display method (#253)
Browse files Browse the repository at this point in the history
  • Loading branch information
basnijholt authored Nov 6, 2024
1 parent aec2088 commit b4d64ac
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions adaptive_scheduler/_server_support/multi_run_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
from typing import TYPE_CHECKING

import ipywidgets as ipw
from IPython.display import display

from adaptive_scheduler.widgets import _disable_widgets_output_scrollbar, info

Expand Down Expand Up @@ -178,3 +179,7 @@ def info(self) -> ipw.VBox:
def _repr_html_(self) -> str:
"""HTML representation for Jupyter notebooks."""
return self.info()

def display(self) -> None:
"""Display the widget."""
display(self.info())

0 comments on commit b4d64ac

Please sign in to comment.