mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-29 10:02:11 +00:00
* Warning Removal * Flake Stuff * HotFix * Docs Fix * I'm Dumb * Docs Fix 2 * Fixing Github Requests * Fix * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * quick fix * Add Deprecation Warning * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci * Weird Pre Commit Stuff * Quick Fix * Quick Fix * Fix * Flake Fix * [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
11 lines
250 B
Python
11 lines
250 B
Python
from pathlib import Path
|
|
|
|
|
|
def get_project_root() -> Path:
|
|
return Path(__file__).parent.parent.parent
|
|
|
|
|
|
def get_svg_resource(filename):
|
|
return str(
|
|
get_project_root() / "tests/test_graphical_units/img_svg_resources" / filename,
|
|
)
|