forked from ManimCommunity/manim
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix tests to run on Cairo 1.18.0 (ManimCommunity#3416)
* Add a script to build and install cairo * Update gui tests for cairo 1.18.0 * update script to set env vars * Make the script run with plain python * Prefer the recently built one in pkg-config * Skip the built if it's windows * CI: build and install latest cairo * CI: only run when cache is missed * Disable compiling tests while building cairo * update poetry lock file * Display the cairo version when running pytest * fixup * tests: skip graphical test when cairo is old * fix the path to find the pkgconfig files on linux * set the LD_LIBRARY_PATH too only then it'll work on linux * fixup * small fixup * Move the script inside `.github/scripts` folder * Make the minimum cairo version a constant * Seperate setting env vars to a sperate step this seem to have broken when cache is hit
- Loading branch information
1 parent
8320cdd
commit b048695
Showing
227 changed files
with
272 additions
and
27 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,209 @@ | ||
# Logic is as follows: | ||
# 1. Download cairo source code: https://cairographics.org/releases/cairo-<version>.tar.xz | ||
# 2. Verify the downloaded file using the sha256sums file: https://cairographics.org/releases/cairo-<version>.tar.xz.sha256sum | ||
# 3. Extract the downloaded file. | ||
# 4. Create a virtual environment and install meson and ninja. | ||
# 5. Run meson build in the extracted directory. Also, set required prefix. | ||
# 6. Run meson compile -C build. | ||
# 7. Run meson install -C build. | ||
|
||
import hashlib | ||
import logging | ||
import os | ||
import subprocess | ||
import sys | ||
import tarfile | ||
import tempfile | ||
import typing | ||
import urllib.request | ||
from contextlib import contextmanager | ||
from pathlib import Path | ||
from sys import stdout | ||
|
||
CAIRO_VERSION = "1.18.0" | ||
CAIRO_URL = f"https://cairographics.org/releases/cairo-{CAIRO_VERSION}.tar.xz" | ||
CAIRO_SHA256_URL = f"{CAIRO_URL}.sha256sum" | ||
|
||
VENV_NAME = "meson-venv" | ||
BUILD_DIR = "build" | ||
INSTALL_PREFIX = Path(__file__).parent.parent / "third_party" / "cairo" | ||
|
||
logging.basicConfig(level=logging.INFO, format="%(asctime)s %(levelname)s %(message)s") | ||
logger = logging.getLogger(__name__) | ||
|
||
|
||
def is_ci(): | ||
return os.getenv("CI", None) is not None | ||
|
||
|
||
def download_file(url, path): | ||
logger.info(f"Downloading {url} to {path}") | ||
block_size = 1024 * 1024 | ||
with urllib.request.urlopen(url) as response, open(path, "wb") as file: | ||
while True: | ||
data = response.read(block_size) | ||
if not data: | ||
break | ||
file.write(data) | ||
|
||
|
||
def verify_sha256sum(path, sha256sum): | ||
with open(path, "rb") as file: | ||
file_hash = hashlib.sha256(file.read()).hexdigest() | ||
if file_hash != sha256sum: | ||
raise Exception("SHA256SUM does not match") | ||
|
||
|
||
def extract_tar_xz(path, directory): | ||
with tarfile.open(path) as file: | ||
file.extractall(directory) | ||
|
||
|
||
def run_command(command, cwd=None, env=None): | ||
process = subprocess.Popen(command, cwd=cwd, env=env) | ||
process.communicate() | ||
if process.returncode != 0: | ||
raise Exception("Command failed") | ||
|
||
|
||
@contextmanager | ||
def gha_group(title: str) -> typing.Generator: | ||
if not is_ci(): | ||
yield | ||
return | ||
print(f"\n::group::{title}") | ||
stdout.flush() | ||
try: | ||
yield | ||
finally: | ||
print("::endgroup::") | ||
stdout.flush() | ||
|
||
|
||
def set_env_var_gha(name: str, value: str) -> None: | ||
if not is_ci(): | ||
return | ||
env_file = os.getenv("GITHUB_ENV", None) | ||
if env_file is None: | ||
return | ||
with open(env_file, "a") as file: | ||
file.write(f"{name}={value}\n") | ||
stdout.flush() | ||
|
||
|
||
def get_ld_library_path(prefix: Path) -> str: | ||
# given a prefix, the ld library path can be found at | ||
# <prefix>/lib/* or sometimes just <prefix>/lib | ||
# this function returns the path to the ld library path | ||
|
||
# first, check if the ld library path exists at <prefix>/lib/* | ||
ld_library_paths = list(prefix.glob("lib/*")) | ||
if len(ld_library_paths) == 1: | ||
return ld_library_paths[0].absolute().as_posix() | ||
|
||
# if the ld library path does not exist at <prefix>/lib/*, | ||
# return <prefix>/lib | ||
ld_library_path = prefix / "lib" | ||
if ld_library_path.exists(): | ||
return ld_library_path.absolute().as_posix() | ||
return "" | ||
|
||
|
||
def main(): | ||
if sys.platform == "win32": | ||
logger.info("Skipping build on windows") | ||
return | ||
|
||
with tempfile.TemporaryDirectory() as tmpdir: | ||
with gha_group("Downloading and Extracting Cairo"): | ||
logger.info(f"Downloading cairo version {CAIRO_VERSION}") | ||
download_file(CAIRO_URL, os.path.join(tmpdir, "cairo.tar.xz")) | ||
|
||
logger.info("Downloading cairo sha256sum") | ||
download_file(CAIRO_SHA256_URL, os.path.join(tmpdir, "cairo.sha256sum")) | ||
|
||
logger.info("Verifying cairo sha256sum") | ||
with open(os.path.join(tmpdir, "cairo.sha256sum")) as file: | ||
sha256sum = file.read().split()[0] | ||
verify_sha256sum(os.path.join(tmpdir, "cairo.tar.xz"), sha256sum) | ||
|
||
logger.info("Extracting cairo") | ||
extract_tar_xz(os.path.join(tmpdir, "cairo.tar.xz"), tmpdir) | ||
|
||
with gha_group("Installing meson and ninja"): | ||
logger.info("Creating virtual environment") | ||
run_command([sys.executable, "-m", "venv", os.path.join(tmpdir, VENV_NAME)]) | ||
|
||
logger.info("Installing meson and ninja") | ||
run_command( | ||
[ | ||
os.path.join(tmpdir, VENV_NAME, "bin", "pip"), | ||
"install", | ||
"meson", | ||
"ninja", | ||
] | ||
) | ||
|
||
env_vars = { | ||
# add the venv bin directory to PATH so that meson can find ninja | ||
"PATH": f"{os.path.join(tmpdir, VENV_NAME, 'bin')}{os.pathsep}{os.environ['PATH']}", | ||
} | ||
|
||
with gha_group("Building and Installing Cairo"): | ||
logger.info("Running meson setup") | ||
run_command( | ||
[ | ||
os.path.join(tmpdir, VENV_NAME, "bin", "meson"), | ||
"setup", | ||
BUILD_DIR, | ||
f"--prefix={INSTALL_PREFIX.absolute().as_posix()}", | ||
"--buildtype=release", | ||
"-Dtests=disabled", | ||
], | ||
cwd=os.path.join(tmpdir, f"cairo-{CAIRO_VERSION}"), | ||
env=env_vars, | ||
) | ||
|
||
logger.info("Running meson compile") | ||
run_command( | ||
[ | ||
os.path.join(tmpdir, VENV_NAME, "bin", "meson"), | ||
"compile", | ||
"-C", | ||
BUILD_DIR, | ||
], | ||
cwd=os.path.join(tmpdir, f"cairo-{CAIRO_VERSION}"), | ||
env=env_vars, | ||
) | ||
|
||
logger.info("Running meson install") | ||
run_command( | ||
[ | ||
os.path.join(tmpdir, VENV_NAME, "bin", "meson"), | ||
"install", | ||
"-C", | ||
BUILD_DIR, | ||
], | ||
cwd=os.path.join(tmpdir, f"cairo-{CAIRO_VERSION}"), | ||
env=env_vars, | ||
) | ||
|
||
logger.info(f"Successfully built cairo and installed it to {INSTALL_PREFIX}") | ||
|
||
|
||
if __name__ == "__main__": | ||
if "--set-env-vars" in sys.argv: | ||
with gha_group("Setting environment variables"): | ||
# append the pkgconfig directory to PKG_CONFIG_PATH | ||
set_env_var_gha( | ||
"PKG_CONFIG_PATH", | ||
f"{Path(get_ld_library_path(INSTALL_PREFIX), 'pkgconfig').as_posix()}{os.pathsep}" | ||
f'{os.getenv("PKG_CONFIG_PATH", "")}', | ||
) | ||
set_env_var_gha( | ||
"LD_LIBRARY_PATH", | ||
f"{get_ld_library_path(INSTALL_PREFIX)}{os.pathsep}" | ||
f'{os.getenv("LD_LIBRARY_PATH", "")}', | ||
) | ||
sys.exit(0) | ||
main() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Binary file modified
BIN
-92 Bytes
(99%)
tests/test_graphical_units/control_data/boolean_ops/difference.npz
Binary file not shown.
Binary file modified
BIN
-91 Bytes
(99%)
tests/test_graphical_units/control_data/boolean_ops/exclusion.npz
Binary file not shown.
Binary file modified
BIN
-82 Bytes
(99%)
tests/test_graphical_units/control_data/boolean_ops/intersection.npz
Binary file not shown.
Binary file modified
BIN
-34 Bytes
(100%)
tests/test_graphical_units/control_data/boolean_ops/intersection_3_mobjects.npz
Binary file not shown.
Binary file modified
BIN
-36 Bytes
(100%)
tests/test_graphical_units/control_data/boolean_ops/union.npz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/brace/brace_sharpness.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...phical_units/control_data/composition/animationgroup_is_passing_remover_to_animations.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
.../control_data/composition/animationgroup_is_passing_remover_to_nested_animationgroups.npz
Binary file not shown.
Binary file modified
BIN
-185 Bytes
(98%)
tests/test_graphical_units/control_data/coordinate_system/implicit_graph.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/coordinate_system/line_graph.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/coordinate_system/number_plane.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/coordinate_system/number_plane_log.npz
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
tests/test_graphical_units/control_data/coordinate_system/plot_log_x_axis.npz
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
tests/test_graphical_units/control_data/coordinate_system/plot_log_x_axis_vectorized.npz
Binary file not shown.
Binary file modified
BIN
+125 Bytes
(100%)
tests/test_graphical_units/control_data/coordinate_system/plot_surface.npz
Binary file not shown.
Binary file modified
BIN
+75 Bytes
(100%)
tests/test_graphical_units/control_data/coordinate_system/plot_surface_colorscale.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/creation/DrawBorderThenFill.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/creation/FadeIn.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/creation/FadeOut.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/creation/GrowFromCenter.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/creation/GrowFromEdge.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/creation/GrowFromPoint.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/creation/ShrinkToCenter.npz
Binary file not shown.
Binary file modified
BIN
+31 Bytes
(100%)
tests/test_graphical_units/control_data/creation/SpinInFromNothing.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/creation/bring_to_back_introducer.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/creation/create.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/creation/uncreate.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/creation/uncreate_rate_func.npz
Binary file not shown.
Binary file modified
BIN
+69 Bytes
(100%)
tests/test_graphical_units/control_data/creation/z_index_introducer.npz
Binary file not shown.
Binary file modified
BIN
-24 Bytes
(100%)
tests/test_graphical_units/control_data/functions/FunctionGraph.npz
Binary file not shown.
Binary file modified
BIN
-375 Bytes
(97%)
tests/test_graphical_units/control_data/functions/ImplicitFunction.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/AngledArrowTip.npz
Binary file not shown.
Binary file modified
BIN
-40 Bytes
(98%)
tests/test_graphical_units/control_data/geometry/AnnotationDot.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/AnnularSector.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/Annulus.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-6 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/ArcBetweenPoints.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/Arrange.npz
Binary file not shown.
Binary file modified
BIN
-55 Bytes
(99%)
tests/test_graphical_units/control_data/geometry/Circle.npz
Binary file not shown.
Binary file modified
BIN
-54 Bytes
(99%)
tests/test_graphical_units/control_data/geometry/CirclePoints.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/Coordinates.npz
Binary file not shown.
Binary file modified
BIN
+3 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/CurvedArrow.npz
Binary file not shown.
Binary file modified
BIN
+5 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/CurvedArrowCustomTip.npz
Binary file not shown.
Binary file modified
BIN
-22 Bytes
(99%)
tests/test_graphical_units/control_data/geometry/CustomDoubleArrow.npz
Binary file not shown.
Binary file modified
BIN
+25 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/DashedVMobject.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/DoubleArrow.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-41 Bytes
(99%)
tests/test_graphical_units/control_data/geometry/Ellipse.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/LabeledArrow.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/LabeledLine.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/Polygon.npz
Binary file not shown.
Binary file modified
BIN
+9 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/Polygram.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/Rectangle.npz
Binary file not shown.
Binary file modified
BIN
-38 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/RegularPolygram.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/RightAngle.npz
Binary file not shown.
Binary file modified
BIN
-12 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/RoundedRectangle.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/Sector.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/Vector.npz
Binary file not shown.
Binary file modified
BIN
+13 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/ZIndex.npz
Binary file not shown.
Binary file modified
BIN
+12 Bytes
(100%)
tests/test_graphical_units/control_data/geometry/three_points_Angle.npz
Binary file not shown.
Binary file modified
BIN
+52 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/Arcs01.npz
Binary file not shown.
Binary file modified
BIN
-13 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/Arcs02.npz
Binary file not shown.
Binary file modified
BIN
+5 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/BrachistochroneCurve.npz
Binary file not shown.
Binary file modified
BIN
-66 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/ContiguousUSMap.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/CubicAndLineto.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/CubicPath.npz
Binary file not shown.
Binary file modified
BIN
+22 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/DesmosGraph1.npz
Binary file not shown.
Binary file modified
BIN
-17 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/HalfEllipse.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/Heart.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/ImageInterpolation.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/ImageMobject.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/Inheritance.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/Line.npz
Binary file not shown.
Binary file modified
BIN
+4 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/ManimLogo.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/MatrixTransform.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/MultiPartPath.npz
Binary file not shown.
Binary file modified
BIN
+1 Byte
(100%)
tests/test_graphical_units/control_data/img_and_svg/MultipleTransform.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/Penrose.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/PixelizedText.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/QuadraticPath.npz
Binary file not shown.
Binary file modified
BIN
-112 Bytes
(98%)
tests/test_graphical_units/control_data/img_and_svg/Rhomboid.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/RotateTransform.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/ScaleTransform.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/SingleUSState.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/SkewXTransform.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/SkewYTransform.npz
Binary file not shown.
Binary file modified
BIN
+8 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/SmoothCurves.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/TranslateTransform.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/UKFlag.npz
Binary file not shown.
Binary file modified
BIN
+29 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/UseTagInheritance.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/VideoIcon.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/WatchTheDecimals.npz
Binary file not shown.
Binary file modified
BIN
-19 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/WeightSVG.npz
Binary file not shown.
Binary file modified
BIN
-7 Bytes
(100%)
tests/test_graphical_units/control_data/img_and_svg/path_multiple_moves.npz
Binary file not shown.
Binary file modified
BIN
-85 Bytes
(99%)
tests/test_graphical_units/control_data/indication/ApplyWave.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/indication/Circumscribe.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/indication/Flash.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/indication/FocusOn.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/indication/Indicate.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/indication/ShowCreationThenFadeOut.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/indication/ShowPassingFlash.npz
Binary file not shown.
Binary file modified
BIN
+60 Bytes
(100%)
tests/test_graphical_units/control_data/indication/Wiggle.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/mobjects/PointCloudDot.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/mobjects/become.npz
Binary file not shown.
Binary file modified
BIN
-26 Bytes
(100%)
tests/test_graphical_units/control_data/mobjects/match_style.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/mobjects/vmobject_joint_types.npz
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(100%)
tests/test_graphical_units/control_data/modifier_methods/Gradient.npz
Binary file not shown.
Binary file modified
BIN
-18 Bytes
(100%)
tests/test_graphical_units/control_data/modifier_methods/GradientRotation.npz
Binary file not shown.
Binary file modified
BIN
-177 Bytes
(99%)
tests/test_graphical_units/control_data/movements/Homotopy.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/movements/MoveAlongPath.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/movements/MoveTo.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/movements/PhaseFlow.npz
Binary file not shown.
Binary file modified
BIN
+49 Bytes
(100%)
tests/test_graphical_units/control_data/movements/Rotate.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/movements/Shift.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/numbers/set_value_with_updaters.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/opengl/FixedMobjects3D.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/plot/axis_tip_custom_width_height.npz
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
tests/test_graphical_units/control_data/plot/axis_tip_default_width_height.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/plot/custom_coordinates.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
tests/test_graphical_units/control_data/plot/get_area_with_boundary_and_few_plot_points.npz
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(100%)
tests/test_graphical_units/control_data/plot/get_axis_labels.npz
Binary file not shown.
Binary file modified
BIN
+4 Bytes
(100%)
tests/test_graphical_units/control_data/plot/get_graph_label.npz
Binary file not shown.
Binary file modified
BIN
-99 Bytes
(99%)
tests/test_graphical_units/control_data/plot/get_lines_to_point.npz
Binary file not shown.
Binary file modified
BIN
-46 Bytes
(100%)
...s/test_graphical_units/control_data/plot/get_riemann_rectangles_use_vectorized[False].npz
Binary file not shown.
Binary file modified
BIN
-46 Bytes
(100%)
tests/test_graphical_units/control_data/plot/get_riemann_rectangles_use_vectorized[True].npz
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(100%)
tests/test_graphical_units/control_data/plot/get_x_axis_label.npz
Binary file not shown.
Binary file modified
BIN
-2 Bytes
(100%)
tests/test_graphical_units/control_data/plot/get_y_axis_label.npz
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(100%)
tests/test_graphical_units/control_data/plot/get_z_axis_label.npz
Binary file not shown.
Binary file modified
BIN
+11 Bytes
(100%)
tests/test_graphical_units/control_data/plot/log_scaling_graph.npz
Binary file not shown.
Binary file modified
BIN
+61 Bytes
(100%)
tests/test_graphical_units/control_data/plot/plot_derivative_graph_use_vectorized[False].npz
Binary file not shown.
Binary file modified
BIN
+61 Bytes
(100%)
tests/test_graphical_units/control_data/plot/plot_derivative_graph_use_vectorized[True].npz
Binary file not shown.
Binary file modified
BIN
+24 Bytes
(100%)
tests/test_graphical_units/control_data/plot/plot_functions_use_vectorized[False].npz
Binary file not shown.
Binary file modified
BIN
+24 Bytes
(100%)
tests/test_graphical_units/control_data/plot/plot_functions_use_vectorized[True].npz
Binary file not shown.
Binary file modified
BIN
-121 Bytes
(99%)
tests/test_graphical_units/control_data/plot/plot_line_graph.npz
Binary file not shown.
Binary file modified
BIN
+19 Bytes
(100%)
tests/test_graphical_units/control_data/plot/plot_use_vectorized[False].npz
Binary file not shown.
Binary file modified
BIN
+19 Bytes
(100%)
tests/test_graphical_units/control_data/plot/plot_use_vectorized[True].npz
Binary file not shown.
Binary file modified
BIN
-58 Bytes
(100%)
tests/test_graphical_units/control_data/plot/polar_graph.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-9 Bytes
(100%)
tests/test_graphical_units/control_data/polyhedra/Dodecahedron.npz
Binary file not shown.
Binary file modified
BIN
-19 Bytes
(100%)
tests/test_graphical_units/control_data/polyhedra/Icosahedron.npz
Binary file not shown.
Binary file modified
BIN
+4 Bytes
(100%)
tests/test_graphical_units/control_data/polyhedra/Octahedron.npz
Binary file not shown.
Binary file modified
BIN
-22 Bytes
(99%)
tests/test_graphical_units/control_data/polyhedra/Tetrahedron.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/probability/advanced_customization.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/probability/change_bar_values_negative.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/probability/change_bar_values_some_vals.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/probability/default_chart.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/probability/get_bar_labels.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/probability/label_constructor.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/probability/negative_values.npz
Binary file not shown.
Binary file modified
BIN
-84 Bytes
(100%)
tests/test_graphical_units/control_data/specialized/Broadcast.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/speed/SpeedModifier.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/tables/DecimalTable.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/tables/IntegerTable.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/tables/MathTable.npz
Binary file not shown.
Binary file modified
BIN
-162 Bytes
(98%)
tests/test_graphical_units/control_data/tables/MobjectTable.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/tex_mobject/color_inheritance.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/tex_mobject/set_opacity_by_tex.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/threed/AddFixedInFrameMobjects.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/threed/AmbientCameraMove.npz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/threed/CameraMove.npz
Binary file not shown.
Binary file modified
BIN
+6 Bytes
(100%)
tests/test_graphical_units/control_data/threed/CameraMoveAxes.npz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
tests/test_graphical_units/control_data/threed/Cylinder.npz
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/threed/MovingVertices.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-75 Bytes
(100%)
tests/test_graphical_units/control_data/threed/SurfaceColorscale.npz
Binary file not shown.
Binary file not shown.
Binary file modified
BIN
-33 Bytes
(100%)
tests/test_graphical_units/control_data/threed/Y_Direction.npz
Binary file not shown.
Binary file modified
BIN
-63 Bytes
(100%)
tests/test_graphical_units/control_data/transform/AnimationBuilder.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/transform/ApplyComplexFunction.npz
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
tests/test_graphical_units/control_data/transform/ApplyFunction.npz
Binary file not shown.
Binary file modified
BIN
+36 Bytes
(100%)
tests/test_graphical_units/control_data/transform/ApplyMatrix.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/transform/ApplyPointwiseFunction.npz
Binary file not shown.
Binary file modified
BIN
-4 Bytes
(100%)
tests/test_graphical_units/control_data/transform/ClockwiseTransform.npz
Binary file not shown.
Binary file modified
BIN
+37 Bytes
(100%)
tests/test_graphical_units/control_data/transform/CounterclockwiseTransform.npz
Binary file not shown.
Binary file modified
BIN
-44 Bytes
(100%)
tests/test_graphical_units/control_data/transform/CyclicReplace.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/transform/FadeInAndOut.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/transform/FadeToColort.npz
Binary file not shown.
Binary file modified
BIN
-8 Bytes
(100%)
tests/test_graphical_units/control_data/transform/FadeTransform.npz
Binary file not shown.
Binary file modified
BIN
-53 Bytes
(100%)
tests/test_graphical_units/control_data/transform/FadeTransformPieces.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...st_graphical_units/control_data/transform/FadeTransform_TargetIsEmpty_FadesOutInPlace.npz
Binary file not shown.
Binary file modified
BIN
-35 Bytes
(100%)
tests/test_graphical_units/control_data/transform/FullRotation.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/transform/MatchPointsScene.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/transform/MoveToTarget.npz
Binary file not shown.
Binary file modified
BIN
+82 Bytes
(100%)
tests/test_graphical_units/control_data/transform/ReplacementTransform.npz
Binary file not shown.
Binary file modified
BIN
-56 Bytes
(100%)
tests/test_graphical_units/control_data/transform/Restore.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/transform/ScaleInPlace.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/transform/ShrinkToCenter.npz
Binary file not shown.
Binary file modified
BIN
+14 Bytes
(100%)
tests/test_graphical_units/control_data/transform/Transform.npz
Binary file not shown.
Binary file modified
BIN
+14 Bytes
(100%)
tests/test_graphical_units/control_data/transform/TransformFromCopy.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/transform/TransformWithConflictingPaths.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/transform/TransformWithPathArcCenters.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/transform/TransformWithPathFunc.npz
Binary file not shown.
Binary file modified
BIN
-152 Bytes
(100%)
...raphical_units/control_data/transform_matching_parts/TransformMatchingDisplaysCorrect.npz
Binary file not shown.
Binary file modified
BIN
-77 Bytes
(99%)
...raphical_units/control_data/transform_matching_parts/TransformMatchingLeavesOneObject.npz
Binary file not shown.
Binary file modified
BIN
-3 Bytes
(100%)
tests/test_graphical_units/control_data/transform_matching_parts/TransformMatchingTex.npz
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
...ts/control_data/transform_matching_parts/TransformMatchingTex_FadeTransformMismatches.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
...a/transform_matching_parts/TransformMatchingTex_FadeTransformMismatches_NothingToFade.npz
Binary file not shown.
Binary file modified
BIN
+2 Bytes
(100%)
..._units/control_data/transform_matching_parts/TransformMatchingTex_TransformMismatches.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/updaters/LastFrameWhenCleared.npz
Binary file not shown.
Binary file modified
BIN
-18 Bytes
(100%)
tests/test_graphical_units/control_data/updaters/UpdateSceneDuringAnimation.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/updaters/Updater.npz
Binary file not shown.
Binary file modified
BIN
+0 Bytes
(100%)
tests/test_graphical_units/control_data/updaters/ValueTracker.npz
Binary file not shown.
Binary file modified
BIN
-29.6 KB
(5.7%)
tests/test_graphical_units/control_data/utils/pixel_error_threshold.npz
Binary file not shown.
Binary file modified
BIN
+16 Bytes
(100%)
tests/test_graphical_units/control_data/vector_scene/vector_to_coords.npz
Binary file not shown.