A community-maintained Python framework for creating mathematical animations.
removed keywords from -r flag
Hugues Devimeuxdeff7c7218d5
diff --git a/manim/config.py b/manim/config.pyindex 73e5a90b8..be255b030 100644--- a/manim/config.py+++ b/manim/config.py@@ -209,16 +209,7 @@ def get_camera_configuration(args):# If the resolution was passed in via -rif args.resolution:- if args.resolution.lower() == "low":- camera_config.update(constants.LOW_QUALITY_CAMERA_CONFIG)- elif args.resolution.lower() == "medium":- camera_config.update(constants.MEDIUM_QUALITY_CAMERA_CONFIG)- elif args.resolution.lower() == "high":- camera_config.update(constants.HIGH_QUALITY_CAMERA_CONFIG)- elif args.resolution.lower() == "4K":- camera_config.update(constants.FOURK_CAMERA_CONFIG)-- elif "," in args.resolution:+ if "," in args.resolution:height_str, width_str = args.resolution.split(",")height = int(height_str)width = int(width_str)