ManimCommunity/manim

LinearTransformationSceneExample does not work in Colab

Open

#2.018 geöffnet am 5. Sept. 2021

Auf GitHub ansehen
 (6 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Python (1.378 Forks)batch import
documentationgood first issueissue:bug

Repository-Metriken

Stars
 (17.820 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 11T 17h) (4 gemergte PRs in 30 T)

Beschreibung

Description of bug / unexpected behavior

I'm trying to change the base configurations for LinearTransformationScene, but I get an error. This was not the case when I was using the previous version of Manim a few days ago

Expected behavior

I was hoping to change the configs without getting an error

How to reproduce the issue

Following is some example code taken from the docs. The first line was to get it to run in Google Colab (as described in the tutorials section)

 %%manim LinearTransformationSceneExample
 
 class LinearTransformationSceneExample(LinearTransformationScene):
            def __init__(self):
                LinearTransformationScene.__init__(
                    self,
                    show_coordinates=True,
                    leave_ghost_vectors=True,
                )

            def construct(self):
                matrix = [[1, 1], [0, 1]]
                self.apply_matrix(matrix)
                self.wait()

Logs

TypeError: __init__() got an unexpected keyword argument 'renderer'

System specifications

Google Colab's settings

Python version

python3

Output of ffmpeg -version:

ffmpeg version 3.4.8-0ubuntu0.2 

Additional comments

Contributor Guide