1
0
mirror of https://github.com/microsoft/qlib.git synced 2026-07-15 00:36:55 +08:00
This commit is contained in:
Jactus
2020-11-27 20:00:58 +08:00
parent f8101214eb
commit f05df04320
3 changed files with 10 additions and 5 deletions

View File

@@ -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