Skip to content

ManimCE 0.19.0 - corrupted settings after manim init #4184

Open
@uwezi

Description

@uwezi

Description of bug / unexpected behavior

The Quickstart tutorial recommends the use of manim init project but this creates a manim.cfg file which distorts the default coordinate system used by Manim.

The use of manim init project is not necessary and should probably be removed from the Quickstart tutorial.

Expected behavior

If anything, manim init project shoukld not create a configuration file which corrupts Manim's default settings.

How to reproduce the issue

run

manim init project my-project --default```
on the command line and then switch to the created project directory and run the scene as
```py
manim -p main.py DefaultTemplate```

<details><summary>Code for reproducing the problem</summary>
Adding a number plane to the created template code highlights the problem. The script is rendered in portrait mode with a highly reduced width of the scene.
```py
from manim import *
class DefaultTemplate(Scene):
    def construct(self):
        self.add(NumberPlane().add_coordinates())
        circle = Circle()  # create a circle
        circle.set_fill(PINK, opacity=0.5)  # set color and transparency

        square = Square()  # create a square
        square.flip(RIGHT)  # flip horizontally
        square.rotate(-3 * TAU / 8)  # rotate a certain amount

        self.play(Create(square))  # animate the creation of the square
        self.play(Transform(square, circle))  # interpolate the square into the circle
        self.play(FadeOut(square))  # fade out animation

Image

System specifications

System Details
  • OS Windows 10
  • Python version (python/py/python3 --version): 3.13.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    Status

    🆕 New

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions