Skip to content

Commit 2dd07e6

Browse files
committed
add type annotations for adaptive/notebook_integration.py
1 parent 73c7394 commit 2dd07e6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

adaptive/notebook_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ def ensure_plotly():
7676
raise RuntimeError("plotly is not installed; plotting is disabled.")
7777

7878

79-
def in_ipynb():
79+
def in_ipynb() -> bool:
8080
try:
8181
# If we are running in IPython, then `get_ipython()` is always a global
8282
return get_ipython().__class__.__name__ == "ZMQInteractiveShell"

0 commit comments

Comments
 (0)