LinearTransformationScene not working
- 主要語言
- Python
- 星號
- 93.9k
- 分支
- 7.7k
- 平均合併
- 2 天 13 小時
- 30 天內合併 PR
- 4
描述
I was trying to render a Linear transform scene to have a try at the animations.
When I enter the from3b1b folder and eola series and began rendering files, when the following errors are shown:
```
PS D:\3b1b\manim> python -m manim from_3b1b/old/eola/chapter3.py SimpleLinearTransformationScene -ps
Media will be written to D:\3b1b\manim\media\. You can change this behavior with the --media_dir flag.
Traceback (most recent call last):
File "D:\3b1b\manim\manimlib\extract_scene.py", line 155, in main
scene = SceneClass(**scene_kwargs)
File "D:\3b1b\manim\manimlib\scene\scene.py", line 51, in __init__
self.setup()
File "D:\3b1b\manim\manimlib\scene\vector_space_scene.py", line 324, in setup
**self.background_plane_kwargs
File "D:\3b1b\manim\manimlib\mobject\coordinate_systems.py", line 287, in __init__
super.__init__(**kwargs)
TypeError: descriptor '__init__' of 'super' object needs an argument
```
Lots of thanks!
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
該錯誤發生在 manimlib/mobject/coordinate_systems.py 的第287行,在這裡 super().__init__ 被錯誤調用。查看 vector_space_scene.py 中 LinearTransformationScene 的 setup 和 CoordinateSystem 的繼承鏈。檢查 Python 的 super() 用法並修正該調用。透過執行提供的命令來測試場景是否能渲染。
由索引模型根據 Issue 內容生成。
評估
- 領域
- tooling
- Issue 類型
- 缺陷
- 難度
- 3/5
- 預估耗時
- 1-2 天
- 活躍度
- 停滯
- 描述清晰度
- 描述清楚
- 新手友好度
- 45/100