File tree 1 file changed +6
-2
lines changed
1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -300,7 +300,9 @@ def to_image(
300
300
# Handle engine
301
301
if engine is not None :
302
302
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
+ )
304
306
else :
305
307
engine = "auto"
306
308
@@ -492,7 +494,9 @@ def write_image(
492
494
if engine == "orca" :
493
495
warnings .warn (ORCA_DEPRECATION_MSG , DeprecationWarning , stacklevel = 2 )
494
496
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
+ )
496
500
497
501
# Try to cast `file` as a pathlib object `path`.
498
502
path = as_path_object (file )
You can’t perform that action at this time.
0 commit comments