0
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2025-07-14 03:31:50 +02:00

WIP Jupyter Console window some debugging stuff with qapp

This commit is contained in:
2025-04-06 17:09:58 +02:00
parent 93a2f15d2f
commit 3fae913888

View File

@ -34,11 +34,13 @@ class JupyterConsoleWindow(QWidget): # pragma: no cover:
super().__init__(parent)
self._init_ui()
self.app_instance = QApplication.instance()
# console push
if self.console.inprocess is True:
self.console.kernel_manager.kernel.shell.push(
{
"app": self.app_instance,
"np": np,
"pg": pg,
"wh": wh,