3b1b / 3b1b/manim

IndexError

オープン
#334 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
93.9k
フォーク
7.7k
平均マージ
2日 13時間
マージ済み PR(30日)
4

説明

ashish@CRLannister:~/Documents/Codes/python/3b1b-manim/manim$ python3 extract_scene.py example_scenes.py SquareToCircle -pl
Writing to /home/ashish/Documents/Codes/python/3b1b-manim/manim/output/animations/example_scenes/480p15/SquareToCircleTemp.mp4

Traceback (most recent call last):
File "extract_scene.py", line 289, in main
handle_scene(SceneClass(**scene_kwargs), **config)
File "/home/ashish/Documents/Codes/python/3b1b-manim/manim/scene/scene.py", line 71, in __init__
self.construct(*self.construct_args)
File "/home/ashish/Documents/Codes/python/3b1b-manim/manim/example_scenes.py", line 20, in construct
circle.set_fill(PINK, opacity=0.5)
File "/home/ashish/Documents/Codes/python/3b1b-manim/manim/mobject/types/vectorized_mobject.py", line 132, in set_fill
self.update_rgbas_array("fill_rgbas", color, opacity)
File "/home/ashish/Documents/Codes/python/3b1b-manim/manim/mobject/types/vectorized_mobject.py", line 125, in update_rgbas_array
curr_rgbas[:, 3] = rgbas[:, 3]
IndexError: index 3 is out of bounds for axis 1 with size 2

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。