From db1d84dd9da3c0aacf0c0fd503c6fbc9c97d2772 Mon Sep 17 00:00:00 2001 From: Steven Hedges Date: Sun, 6 Apr 2025 20:36:39 -0400 Subject: [PATCH] swap pixel_width and pixel_height --- manim/cli/init/commands.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manim/cli/init/commands.py b/manim/cli/init/commands.py index dd9d64837f..197e97bf71 100644 --- a/manim/cli/init/commands.py +++ b/manim/cli/init/commands.py @@ -76,8 +76,8 @@ def update_cfg(cfg_dict: dict[str, Any], project_cfg_path: Path) -> None: cli_config = config["CLI"] for key, value in cfg_dict.items(): if key == "resolution": - cli_config["pixel_height"] = str(value[0]) - cli_config["pixel_width"] = str(value[1]) + cli_config["pixel_width"] = str(value[0]) + cli_config["pixel_height"] = str(value[1]) else: cli_config[key] = str(value)