Skip to content

SVGMobject not displaying svg correctly #4699

@GniLudio

Description

@GniLudio

Description of bug / unexpected behavior

When displaying the svg logos of python (link) using manim, they aren't displayed correctly.

Original Manim

Expected behavior

The appearance of the SVGs should be the same in the video.

How to reproduce the issue

Code for reproducing the problem
from manim import *

class Test1(Scene):
    def construct(self):
        self.add(SVGMobject("python-logo-generic.svg"))

class Test2(Scene):
    def construct(self):
        self.add(SVGMobject("python-logo-inkscape.svg"))

class Test3(Scene):
    def construct(self):
        self.add(SVGMobject("python-logo-only.svg"))

Additional media files

SVGs
Rendered Scenes
  • Image
  • Image
  • Image

Logs

Terminal output
> manim main.py Test1 Test2 Test3 -qh -v DEBUG
Manim Community v0.20.1

[04/18/26 18:11:19] INFO                                                                                                                                                                           scene_file_writer.py:904
                             File ready at 'C:\Users\Rohlfing\Documents\manim-test\media\images\main\Test1_ManimCE_v0.20.1.png'                                                                                            
                                                                                                                                                                                                                           
                    INFO     Rendered Test1                                                                                                                                                                    scene.py:278
                             Played 0 animations                                                                                                                                                                           
                    INFO                                                                                                                                                                           scene_file_writer.py:904
                             File ready at 'C:\Users\Rohlfing\Documents\manim-test\media\images\main\Test2_ManimCE_v0.20.1.png'                                                                                            
                                                                                                                                                                                                                           
                    INFO     Rendered Test2                                                                                                                                                                    scene.py:278
                             Played 0 animations                                                                                                                                                                           
                    INFO                                                                                                                                                                           scene_file_writer.py:904
                             File ready at 'C:\Users\Rohlfing\Documents\manim-test\media\images\main\Test3_ManimCE_v0.20.1.png'                                                                                            
                                                                                                                                                                                                                           
                    INFO     Rendered Test3                                                                                                                                                                    scene.py:278
                             Played 0 animations  

System specifications

System Details
  • OS: Windows 11 Home - 10.0.26200 Build 26200
  • RAM: 32GB
  • Python version (python/py/python3 --version): Python 3.14.2
  • Installed modules (provide output from pip list):
LaTeX details
  • LaTeX distribution (e.g. TeX Live 2020): MiKTeX-TeX 4.9 (MiKTeX 26.2)
  • Installed LaTeX packages:

Additional comments

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions