mirror of
https://github.com/wassname/baukit.git
synced 2026-06-27 17:47:31 +08:00
Eliminate spew when importing outside notebook.
This commit is contained in:
+1
-1
@@ -1212,7 +1212,7 @@ if WIDGET_ENV is None:
|
|||||||
COMM_MANAGER = ipython_get_ipython().kernel.comm_manager
|
COMM_MANAGER = ipython_get_ipython().kernel.comm_manager
|
||||||
WIDGET_ENV = 'jupyter'
|
WIDGET_ENV = 'jupyter'
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
print(e)
|
# print(e)
|
||||||
pass
|
pass
|
||||||
|
|
||||||
def no_env_warning():
|
def no_env_warning():
|
||||||
|
|||||||
Reference in New Issue
Block a user