Skip to content

Commit 61bb76c

Browse files
committed
format
1 parent 467c135 commit 61bb76c

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

plotly/io/_kaleido.py

+6-2
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,9 @@ def to_image(
300300
# Handle engine
301301
if engine is not None:
302302
if ENABLE_KALEIDO_V0_DEPRECATION_WARNINGS:
303-
warnings.warn(ENGINE_PARAM_DEPRECATION_MSG, DeprecationWarning, stacklevel=2)
303+
warnings.warn(
304+
ENGINE_PARAM_DEPRECATION_MSG, DeprecationWarning, stacklevel=2
305+
)
304306
else:
305307
engine = "auto"
306308

@@ -492,7 +494,9 @@ def write_image(
492494
if engine == "orca":
493495
warnings.warn(ORCA_DEPRECATION_MSG, DeprecationWarning, stacklevel=2)
494496
if engine not in {None, "auto"}:
495-
warnings.warn(ENGINE_PARAM_DEPRECATION_MSG, DeprecationWarning, stacklevel=2)
497+
warnings.warn(
498+
ENGINE_PARAM_DEPRECATION_MSG, DeprecationWarning, stacklevel=2
499+
)
496500

497501
# Try to cast `file` as a pathlib object `path`.
498502
path = as_path_object(file)

0 commit comments

Comments
 (0)