Skip to content

Fail to change resolution from render arguments #282

@ponmike92

Description

@ponmike92

macOS Catalina, I installed manim as package
fails when I try to change resolution settings

manim basic.py SquareToCircle -plr 700,700

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.7/bin/manim", line 5, in <module>
    from manim.__main__ import main
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/manim/__init__.py", line 4, in <module>
    from .config import config
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/manim/config.py", line 97, in <module>
    config = _parse_config(config_parser, args)
  File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/manim/config.py", line 46, in _parse_config
    config["camera_config"].update({"pixel_height": height, "pixel_width": width})
KeyError: 'camera_config'

Metadata

Metadata

Assignees

No one assigned

    Labels

    pr:bugfixBug fix for use in PRs solving a specific issue:bug

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions