File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff 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 )
You can’t perform that action at this time.
0 commit comments