diff --git a/packages/python/plotly/plotly/io/_renderers.py b/packages/python/plotly/plotly/io/_renderers.py index 2341339d028..5277c9efec7 100644 --- a/packages/python/plotly/plotly/io/_renderers.py +++ b/packages/python/plotly/plotly/io/_renderers.py @@ -497,6 +497,12 @@ def show(fig, renderer=None, validate=True, **kwargs): # orca not found pass + # Check if we're running in ipython terminal + if not default_renderer and ( + ipython.get_ipython().__class__.__name__ == "TerminalInteractiveShell" + ): + default_renderer = "browser" + # Fallback to renderer combination that will work automatically # in the classic notebook (offline), jupyterlab, nteract, vscode, and # nbconvert HTML export.