Skip to content

Commit 08b038d

Browse files
committed
Add _none jupyter mode.
1 parent d4a90e6 commit 08b038d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dash/_jupyter.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
_dash_comm = None
3636
get_ipython = lambda: None
3737

38-
JupyterDisplayMode = Literal["inline", "external", "jupyterlab", "tab"]
38+
JupyterDisplayMode = Literal["inline", "external", "jupyterlab", "tab", "_none"]
3939

4040

4141
def _get_skip(error: Exception):
@@ -253,7 +253,7 @@ def run_app(
253253
if self.in_colab:
254254
valid_display_values = ["inline", "external"]
255255
else:
256-
valid_display_values = ["jupyterlab", "inline", "external", "tab"]
256+
valid_display_values = ["jupyterlab", "inline", "external", "tab", "_none"]
257257

258258
if mode is None:
259259
mode = self.default_mode

0 commit comments

Comments
 (0)