diff --git a/packages-nextgen/kestrel_jupyter/src/kestrel_jupyter_kernel/kernel.py b/packages-nextgen/kestrel_jupyter/src/kestrel_jupyter_kernel/kernel.py index 2d935317..ba361f0d 100644 --- a/packages-nextgen/kestrel_jupyter/src/kestrel_jupyter_kernel/kernel.py +++ b/packages-nextgen/kestrel_jupyter/src/kestrel_jupyter_kernel/kernel.py @@ -40,6 +40,8 @@ def do_execute( "display_data", {"data": {"text/html": result.to_html()}, "metadata": {}}, ) + # how to clear output (if needed in the future): + # self.send_response(self.iopub_socket, "clear_output") except Exception as e: _logger.error("Exception occurred", exc_info=True)