ManimCommunity/manim
Ver no GitHubLinearTransformationSceneExample does not work in Colab
Open
#2.018 aberto em 5 de set. de 2021
documentationgood first issueissue:bug
Métricas do repositório
- Stars
- (17.820 stars)
- Métricas de merge de PR
- (Mesclagem média 11d 17h) (4 fundiu PRs em 30d)
Description
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