Repository: ManimCommunity/manim
File: manim/mobject/logo.py (Python)

Code before:
                self.wait()
                self.play(Unwrite(banner))

    .. manim:: LightThemeBanner

        class LightThemeBanner(Scene):
            def construct(self):
                self.camera.background_color = "#ece6e2"
                banner = ManimBanner(dark_theme=False)
                self.play(banner.create())
                self.play(banner.expand())
                self.wait()
                self.play(Unwrite(banner))

    """

    def __init__(self, dark_theme: bool = True):
        super().__init__()

        logo_green = "#81b29a"
        logo_blue = "#454866"
        logo_red = "#e07a5f"
        m_height_over_anim_height = 0.75748

        self.font_color = "#ece6e2" if dark_theme else "#343434"
        self.scale_factor: float = 1

        self.M = VMobjectFromSVGPath(MANIM_SVG_PATHS[0]).flip(cst.RIGHT).center()
        self.M.set(stroke_width=0).scale(
            7 * cst.DEFAULT_FONT_SIZE * cst.SCALE_FACTOR_PER_FONT_POINT
        )
        self.M.set_fill(color=self.font_color, opacity=1).shift(
            2.25 * cst.LEFT + 1.5 * cst.UP
        )

        self.circle = Circle(color=logo_green, fill_opacity=1).shift(cst.LEFT)
        self.square = Square(color=logo_blue, fill_opacity=1).shift(cst.UP)
        self.triangle = Triangle(color=logo_red, fill_opacity=1).shift(cst.RIGHT)
        self.shapes = VGroup(self.triangle, self.square, self.circle)
        self.add(self.shapes, self.M)
        self.move_to(cst.ORIGIN)

        anim = VGroup()
        for ind, path in enumerate(MANIM_SVG_PATHS[1:]):
            tex = VMobjectFromSVGPath(path).flip(cst.RIGHT).center()
            tex.set(stroke_width=0).scale(
                cst.DEFAULT_FONT_SIZE * cst.SCALE_FACTOR_PER_FONT_POINT
            )
            if ind > 0:
                tex.next_to(anim, buff=0.01)
            tex.align_to(self.M, cst.DOWN)

Review comment (suggestion):
```suggestion
        self.scale_factor = 1.0
```

Code after:
                self.wait()
                self.play(Unwrite(banner))

    .. manim:: LightThemeBanner

        class LightThemeBanner(Scene):
            def construct(self):
                self.camera.background_color = "#ece6e2"
                banner = ManimBanner(dark_theme=False)
                self.play(banner.create())
                self.play(banner.expand())
                self.wait()
                self.play(Unwrite(banner))

    """

    def __init__(self, dark_theme: bool = True):
        super().__init__()

        logo_green = "#81b29a"
        logo_blue = "#454866"
        logo_red = "#e07a5f"
        m_height_over_anim_height = 0.75748

        self.font_color = "#ece6e2" if dark_theme else "#343434"
        self.scale_factor = 1.0

        self.M = VMobjectFromSVGPath(MANIM_SVG_PATHS[0]).flip(cst.RIGHT).center()
        self.M.set(stroke_width=0).scale(
            7 * cst.DEFAULT_FONT_SIZE * cst.SCALE_FACTOR_PER_FONT_POINT
        )
        self.M.set_fill(color=self.font_color, opacity=1).shift(
            2.25 * cst.LEFT + 1.5 * cst.UP
        )

        self.circle = Circle(color=logo_green, fill_opacity=1).shift(cst.LEFT)
        self.square = Square(color=logo_blue, fill_opacity=1).shift(cst.UP)
        self.triangle = Triangle(color=logo_red, fill_opacity=1).shift(cst.RIGHT)
        self.shapes = VGroup(self.triangle, self.square, self.circle)
        self.add(self.shapes, self.M)
        self.move_to(cst.ORIGIN)

        anim = VGroup()
        for ind, path in enumerate(MANIM_SVG_PATHS[1:]):
            tex = VMobjectFromSVGPath(path).flip(cst.RIGHT).center()
            tex.set(stroke_width=0).scale(
                cst.DEFAULT_FONT_SIZE * cst.SCALE_FACTOR_PER_FONT_POINT
            )
            if ind > 0:
                tex.next_to(anim, buff=0.01)
            tex.align_to(self.M, cst.DOWN)