Skip to content

Commit 5cb5754

Browse files
committed
Default to notebook connected mode
1 parent 53c4770 commit 5cb5754

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

plotly/io/_base_renderers.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,8 +76,7 @@ def to_mimebundle(self, fig_dict):
7676
class PlotlyRenderer(MimetypeRenderer):
7777
"""
7878
Renderer to display figures using the plotly mime type. This renderer is
79-
compatible with JupyterLab (using the @jupyterlab/plotly-extension),
80-
VSCode, and nteract.
79+
compatible with VSCode and nteract.
8180
8281
mime type: 'application/vnd.plotly.v1+json'
8382
"""

plotly/io/_renderers.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -549,10 +549,10 @@ def show(fig, renderer=None, validate=True, **kwargs):
549549
default_renderer = "browser"
550550

551551
# Fallback to renderer combination that will work automatically
552-
# in the classic notebook (offline), jupyterlab, nteract, vscode, and
552+
# in the classic notebook, jupyterlab, nteract, vscode, and
553553
# nbconvert HTML export.
554554
if not default_renderer:
555-
default_renderer = "plotly_mimetype+notebook"
555+
default_renderer = "plotly_mimetype+notebook_connected"
556556
else:
557557
# If ipython isn't available, try to display figures in the default
558558
# browser

0 commit comments

Comments
 (0)