1
0
mirror of https://github.com/bec-project/bec_widgets.git synced 2026-03-09 18:27:52 +01: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,