manim/tests/test_graphical_units/control_data/transform
Kevin Lubick c4f1d202a9
Prevent TransformMatchingTex from crashing when there is nothing to fade (#2846)
* Prevent TransformMatchingTex from crashing when there is nothing to fade

Fixes #2845 and adds tests.

I originally tried to make FadeTransformPieces not crash if it was given two Mobjects with no submobjects, but I couldn't quite get that to work. This is probably the less invasive of a change.

* [pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci

* use Tex arrows

Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>

* Update expectations after Tex change

* Address feedback

This makes FadeTransform::ghost_to more robust to receiving an empty target. It is currently unspecified what should happen, so how about just fading in place?

* [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>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
2022-09-24 16:22:42 +02:00
..
AnimationBuilder.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
ApplyComplexFunction.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
ApplyFunction.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
ApplyMatrix.npz Added `about_point keyword argument to :class:~.ApplyMatrix` (#2388) 2021-12-31 00:14:52 +00:00
ApplyPointwiseFunction.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
ClockwiseTransform.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
CounterclockwiseTransform.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
CyclicReplace.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
FadeInAndOut.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
FadeToColort.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
FadeTransform.npz Prevent TransformMatchingTex from crashing when there is nothing to fade (#2846) 2022-09-24 16:22:42 +02:00
FadeTransform_TargetIsEmpty_FadesOutInPlace.npz Prevent TransformMatchingTex from crashing when there is nothing to fade (#2846) 2022-09-24 16:22:42 +02:00
FadeTransformPieces.npz Prevent TransformMatchingTex from crashing when there is nothing to fade (#2846) 2022-09-24 16:22:42 +02:00
FullRotation.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
MatchPointsScene.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
MoveToTarget.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
ReplacementTransform.npz Fixed bug with invalid color type `None` (#2584) 2022-03-06 19:30:02 +01:00
Restore.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
ScaleInPlace.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
ShrinkToCenter.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
Transform.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
TransformFromCopy.npz Made frames_comparsion testing utility a proper module of the library (#2346) 2021-12-03 21:18:18 +01:00
TransformWithConflictingPaths.npz Add documentation and testing for Transform's path_func behavior (#2771) 2022-06-19 01:56:15 +02:00
TransformWithPathArcCenters.npz Add documentation and testing for Transform's path_func behavior (#2771) 2022-06-19 01:56:15 +02:00
TransformWithPathFunc.npz Add documentation and testing for Transform's path_func behavior (#2771) 2022-06-19 01:56:15 +02:00