Skip to content

Commit 4bcbd30

Browse files
committed
Black
1 parent 1db6c81 commit 4bcbd30

File tree

3 files changed

+5
-8
lines changed

3 files changed

+5
-8
lines changed

.circleci/config.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -68,9 +68,6 @@ commands:
6868
cd ..
6969
uv pip install .
7070
uv pip install -r ./test_requirements/requirements_optional.txt
71-
cd js
72-
npm ci
73-
npm run build
7471
7572
- when:
7673
condition:

plotly/io/_renderers.py

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

551551
# Check if we're running in a Jupyter notebook or JupyterLab
552-
if not default_renderer and (shell == 'ZMQInteractiveShell') and (
553-
type(ipython_info).__module__.startswith('ipykernel.')
552+
if (
553+
not default_renderer
554+
and (shell == "ZMQInteractiveShell")
555+
and (type(ipython_info).__module__.startswith("ipykernel."))
554556
):
555-
default_renderer = 'plotly_mimetype'
557+
default_renderer = "plotly_mimetype"
556558

557559
# Fallback to renderer combination that will work automatically
558560
# in the jupyter notebook, jupyterlab, nteract, vscode, and

pyproject.toml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,6 @@ plotly = [
5757
"package_data/*",
5858
"package_data/templates/*",
5959
"package_data/datasets/*",
60-
"labextension/static/*",
61-
"labextension/static/static/*",
6260
]
6361

6462
[tool.black]

0 commit comments

Comments
 (0)