Skip to content

Documentation example typo #2389

Closed
@netwizard22

Description

@netwizard22

Description of bug / unexpected behavior

Rotate without () here
Found by WichoTutorialesYT

class ChangeOfDirection(Scene):
    def construct(self):
        ccw = RegularPolygon(5)
        ccw.shift(LEFT).rotate
        cw = RegularPolygon(5)
        cw.shift(RIGHT).reverse_direction()
        self.play(Create(ccw), Create(cw),
        run_time=4)

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomersissue:bugSomething isn't working... For use in issues

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions