ManimCommunity / ManimCommunity/manim
Setting frame width and frame heigh is only taking frame_width into account.
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 40.9k
- Forks
- 3.1k
- Avg merge
- 3d 12h
- Merged PRs (30d)
- 25
Description
When running this script:
```py
from manim import *
config["pixel_width"] = 100
config["pixel_height"] = 100
config["frame_width"] = 1
config["frame_height"] = 4
class Example(Scene):
def construct(self):
ar = Arrow(ORIGIN,2*UP)
self.add(ar)
```
My expectation would be: a 100x100 pixel image, where one can see the whole arrow (as it is in the field of view.)
Instead, I got this:

A 100x100 pixel image, however not the whole arrow is visible.
This means, there is a problem with setting frame_height.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Run the provided Python script and compare the resulting 100x100 image with the expected view of the complete arrow. Trace where frame_width and frame_height are applied, then verify that changing frame_height affects the field of view and that the whole arrow is visible.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100