mirror of
https://github.com/microsoft/qlib.git
synced 2026-07-15 00:36:55 +08:00
Fix
This commit is contained in:
@@ -103,8 +103,8 @@ class BaseGraph(object):
|
||||
try:
|
||||
# in notebook
|
||||
_ipykernel = str(type(get_ipython()))
|
||||
if 'google.colab' in _ipykernel:
|
||||
renderer = 'colab'
|
||||
if "google.colab" in _ipykernel:
|
||||
renderer = "colab"
|
||||
except NameError:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user