Elteoremadebeethoven / Problems-in-each-version-of-ManimCE

This is a guide to the bugs/problems that can be found in each new version of ManimCE.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ManimCE bugs

v0.16.0.post0

Add .svg extension to SVGMobjects

svg = SVGMobject("file.svg")
#                     ----  this is necessary

Assets dir problem with SVG

If you have configured the assets folder, either with the config dictionary or with cfg files, it will not work with SVG files, so you will have to add the path: SVGMobject("path_to_file/file.svg").

That is, if you have this structure:

assets
└── file.svg

With this config:

config.assets_dir = "./assets/"

or this (in the manim.cfg file):

[CLI]
assets_dir = ./assets/

This is not going to work:

svg = SVGMobject("file.svg")

So you will have to add the path:

svg = SVGMobject("./assets/file.svg")

This will be fixed in the next release.

About

This is a guide to the bugs/problems that can be found in each new version of ManimCE.