diff options
author | Nao Pross <np@0hm.ch> | 2021-05-05 23:09:33 +0200 |
---|---|---|
committer | Nao Pross <np@0hm.ch> | 2021-05-05 23:09:33 +0200 |
commit | 6c50dd1aff137beaadca5e46913355d80d3cda3b (patch) | |
tree | fb1838259c7ee04f8615af32db5d06d4ef9999fc /vorlesungen/punktgruppen/crystals.py | |
parent | Add (back) slide for algebraic symmetries (diff) | |
download | SeminarMatrizen-6c50dd1aff137beaadca5e46913355d80d3cda3b.tar.gz SeminarMatrizen-6c50dd1aff137beaadca5e46913355d80d3cda3b.zip |
Update manim to v0.6.0
Diffstat (limited to '')
-rw-r--r-- | vorlesungen/punktgruppen/crystals.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vorlesungen/punktgruppen/crystals.py b/vorlesungen/punktgruppen/crystals.py index 7eef9b8..b29d7e4 100644 --- a/vorlesungen/punktgruppen/crystals.py +++ b/vorlesungen/punktgruppen/crystals.py @@ -487,7 +487,7 @@ class AlgebraicSymmetries(Scene): ApplyMethod(morphgrp.to_edge, LEFT)) # draw a complex plane - plane = ComplexPlane(x_min = -2, x_max = 3) + plane = ComplexPlane(x_range = [-2.5, 2.5]) coordinates = plane.get_coordinate_labels(1, -1, 1j, -1j) roots = list(map(lambda p: Dot(p, fill_color=PINK), ( @@ -503,7 +503,7 @@ class AlgebraicSymmetries(Scene): square = Square().rotate(PI/4).scale(1/m.sqrt(2)) square.set_fill(PINK).set_opacity(.4) - figuregrp = Group(plane, square, arrow, arrowtext, *coordinates, *roots) + figuregrp = VGroup(plane, square, arrow, arrowtext, *coordinates, *roots) figuregrp.to_edge(RIGHT) self.play(Create(plane)) |