File tree Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Expand file tree Collapse file tree 1 file changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -418,29 +418,6 @@ def log(self, message: str):
418418 self ._ipy_display .display (message )
419419
420420
421- class IPyWidgetsPreloadDisplay (IPyPreloadDisplay ):
422- def __init__ (self , states : list [PreloadState ]):
423- super ().__init__ (states )
424- import ipywidgets
425-
426- self ._state_table = ipywidgets .HTML (self .to_html ())
427- self ._output = ipywidgets .Output () # not used yet
428- self ._container = ipywidgets .VBox ([self ._state_table , self ._output ])
429-
430- def show (self ):
431- """Display the widget container."""
432- self ._ipy_display .display (self ._container )
433-
434- def update (self ):
435- """Update the display."""
436- self ._state_table .value = self .to_html ()
437-
438- def log (self , message : str ):
439- """Log a message to the output widget."""
440- with self ._output :
441- print (message )
442-
443-
444421def _to_dict (obj : object ):
445422 return {
446423 k : v
You can’t perform that action at this time.
0 commit comments