* added new tip class: StealthTip
* let NumberLine propagate tip_shape properly
* documentation, tests
* black
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed type hint, added some more documentation.
* black
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove unused import
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Added MathTex.set_opacity_by_tex and MathTex.fade_all_but_tex
* Completed unittests for set_opacity_by_tex and fade_all_but_tex
* Added control_data for `fade_all_but_tex` and `set_opacity_by_tex`
* Removed ade_all_but_tex and integrated functionality into set_opacity_by_tex. Included a second parameter 'remaining_opacity' to define the opacity value of the remaining tex
* Added type hints for `set_opacity_by_tex`. Removed type information in docstring. Improved logic of `set_opacity_by_tex` to reduce redundant calls for tex parts
---------
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* feat(Polygram.round_corners): add support for individualized radius values
* Update manim/mobject/geometry/polygram.py
Remove type hints from the docstring of round_corners()
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update rounded_corners() so that integer values are accepted
---------
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Add scene.replace() and use in ReplacementTransform
This replace method allows one mobject to take the place (that is,
the draw order) of another mobject.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Address Feedback
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update visual Replacement test and fix extract_frames.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* allow flake8 to be unhappy
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>
* implemented threshold for number of pixel value errors
* fix implementation, throw proper warning
* added test for pixel value error threshold
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove forgotten debug print
* introduce constants for frame_comparison tolerance
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* rename constant
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* LineJoins added
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* added joint type enum, refactored proposed implementation
* added test for joint types
* added documentation
* let LineJointType.AUTO be rendered like before
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* update added example in basic.py to reflect changed implementation
* fix RTD build
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* moved rendered example in documentation
* [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>
* implement missing VMobject.resize_points
* ensure that VMobject.start_new_path *actually* starts a new path
* add missing imports
* doctest resize_array
* added test with weird dvisvgm generated svg
* black
* [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: Naveen M K <naveen521kk@gmail.com>
* fix: Align lines correctly when passing `faded_line_ratio` property to NumberPlane (#2894)
* regenerated test data
* removed unnecessary check for empty input
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* removed text test control data
* rewrote text tests to be non-graphical
* [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>
* port SVGMobject from 3b1b/manim
* added svgelements as dependency
* revert change of default values
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* set default stroke_width of svg elements to 0 if not set
* fix handling of circles with different rx/ry
* turn more methods into staticmethods
* removed duplicated method
* set/adapt stroke-width of some test SVGs
* updated control data
* forgot some control data
* fixed init_colors in tex_mobject and text_mobject
* minor changes, added docstrings
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* module docstring, removed import
* vector_to_coords changed again
* nail sphinx version to below 5.1 to fix rtd (?)
* update test_text control data for science
* changed Brace to use VMobjectFromSVGPath
* remove unused classes and methods depending on old SVG path implementation
* remove style_utils and svg_path modules
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change test_text to use monospace font
* restore geometry.polygram
* added get_mobject_type_class auxiliary method; changed polyline implementation to ad-hoc approach
* restore test_text to previous version
* skip Use tags as svgelements already populates them
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* 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>
* Enable filling color by value for OpenGLSurface.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Added doc string and removed unused deprecated_params
* Added docstring and made method private.
* Fixed spelling error.
* Update manim/mobject/types/opengl_surface.py
Agreed.
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Fixed typings
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Added None type as part of color checking
* Another attempt at fixing the color typings
* Made some of the requested modifications.
* Fixed failing tests.
* Added tests for Cairo method.
* One minor change to test plot_surface.
* Fixed typo in docstring.
* Removed passing in of axes.
* Removed axes in tests.
* Fixed typo, mixed up u and v.
* Fixed docstring typo, updated format to recommended.
* Fixed one more typo in docstring.
* One last time editing the docstring.
* Add deprecation import to opengl_surface.
* Added import for Surface and OpenGLSurface to coordinate_systems.
* Hoping this fixes the example for the docs.
* Addes colorscale_axis to plot_surface
* Forgot to update the docstring.
* added proper deprecation, made change temporarily backwards compatible
* [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>
Co-authored-by: Tristan Schulz <mrdiverlp@gmail.com>
* Added speedmodifier.py
* fix bugs, stable state
* rate_func, comments
* Add docs
* add `ChangedWait`
* run_time override for AnimationGroup
* fix AnimationGroup
* change example
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix docstrings
* small improvements
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
fix AnimationGroup
fix AnimationGroup...
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add_updater for changed speed
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* rename vars
* Remove `ChangedWait`,
Set default `rate_func` for `Wait` to `linear`
* fix `Succession`
* fix updaters
* fix docs
* rename vars
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Apply suggestions from code review
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* convert lambdas into funcs
* Add tests.
* reduced test run time and regenerated control data
* Update manim/animation/speedmodifier.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* include new module in docbuild
* added module docstring
* fixed non-rendering examples in documentation
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>
Co-authored-by: Tristan Schulz <mrdiverlp@gmail.com>
Co-authored-by: Benjamin Hackl <benjamin.hackl@aau.at>
* enhancement(ParametricFunction, CoordinateSystem, Axes, NumberLine): vectorized coords_to_points,plot,plot_parametric_function; added Numberline:number_to_point_array
* test(plot_log_x_axis_vectorized): added test for vectorized plotting
* extend(angle_of_vector): added test for angle_of_vector with ndarray as input
* fix(frames_comparison): fix naming of test data to be able to write and read the file name because ':' is forbidden
* test(plot): add more vectorized tests, added use_vectorized fixture to make life simpler
* fix(coordinate_system,number_line,scale): vectorizing functions and fixing bugs
* enhancement(NumberLine): vectorized number_to_point and added test
* enhancement(NumberLine): added tests for point_to_number, added example to doc
* enhancement(CoordinateSystem): added test for coords_to_point_vectorized and vectorized coords_to_point
* enhancement(Axes): vectorized point_to_coords and added tests
* Minor formatting fixes and doctests
* fixed flake hint with generator expression
* Create __init__.py
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update documentation for antiderivative
* Update manim/mobject/graphing/coordinate_systems.py
Co-authored-by: Raghav Goel <raghavgd2h@gmail.com>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Update manim/mobject/graphing/coordinate_systems.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update manim/mobject/graphing/coordinate_systems.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update manim/mobject/graphing/functions.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update manim/mobject/graphing/coordinate_systems.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update manim/mobject/graphing/coordinate_systems.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* fixed wrong indentation
* stop doctest from leaking change in global config
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change code block type
* [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: Raghav Goel <raghavgd2h@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Clean up ghost Mobject in TransformMatchingAbstractBase
TransformMatchingAbstractBase does Fade transitions when no mismatch handling is defined, the current implementation leaves an invisible object behind when it's applied. This commit adds handling to clean it up.
Co-Authored-By: Andrew Yang <4412798+AndrewYY@users.noreply.github.com>
* Add tests for TransformMatching default mismatch behavior
* Document new interpolation behavior
* Add TransformMatching code review changes
* Revert "Add TransformMatching code review changes"
This reverts commit 6de61ecbba.
* Revert "Revert "Add TransformMatching code review changes""
Mistakes were made, we need to revert deeper.
This reverts commit 7bd9f4ebea.
Co-authored-by: Andrew Yang <4412798+AndrewYY@users.noreply.github.com>
Co-authored-by: Tristan Schulz <mrdiverlp@gmail.com>
* Add graphical tests for Transform with paths
* Rewrite path function setting in Transform
Currently setting the path function in Transform is done unintuitively,
this commit reorders the path_func assignment to make it more clear what
it's doing.
Passes 609 tests / Skips 12 tests
* Add Parameter DocString to Transform class
* Add Transform test for conflicting path settings
* Apply suggestions from code review
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update manim/animation/transform.py
Co-authored-by: Tristan Schulz <mrdiverlp@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: Tristan Schulz <mrdiverlp@gmail.com>
* Added Axes Tip Resize Functionality according to Axes class documentation
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Changed Default Tip Size Values to Conform with Global Defaults
* Fixed width kwarg usage on circle/square tips
* Fixed ratio-impacted default tip width for vectors
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Removed Left-over Prints :)
Co-authored-by: Will Soltas <willsoltas@Wills-MacBook-Pro-2.local>
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>
* fixed style
* fixed style
* fixed formatting
* Update manim/mobject/geometry/line.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update manim/mobject/geometry/line.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update manim/mobject/geometry/line.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update manim/mobject/geometry/line.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fixed formatting comments and added tests that can visualize graphic better
* Update manim/mobject/geometry/line.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update manim/mobject/geometry/line.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* added additional example
* Update manim/mobject/geometry/line.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update manim/mobject/geometry/line.py
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* example has been changed!
* fixed name change
* reverted change to not include Vgroup
Co-authored-by: hickmott99 <71236306+hickmott99@users.noreply.github.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* fix axis lines drawn twice in numberplane
* simplified and fixed test, added comments
* fixed background lines drawn when both x_min, x_max are negative
* regenerated control data of failing tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* `Uncreate()` works with `rate_func` ,fix #2469
Place the reverse of `rate_func` to become part of the process in `Uncreate()`.
The original `uncreate()` is implemented by setting a specific value to `rate_func`.
Now, if you want to set parameter`rate_func` when using `Uncreate()`, you can set the parameter `reverse_rate_func` to `Uncreate()`.
Examples
```python
.. manim:: ShowUncreate
class ShowUncreate(Scene):
def construct(self):
self.play(Uncreate(Square(), reverse_rate_func=linear))
```
But problems remains when you try to pass parameter `rate_func` to `Scene.play()`
* fix issue #2469
* Add parameter reversed to class Animation
Fix an error in the last [commit](47b5196e3f). The "remover" decided whether it would reverse. Now it correctly passes the power of decision to "reversed".
Add a bool parameter `reversed` to class `Animation`. It decides whether the animation need to be played backwards. Default to be False.
* Add unit tests for usages of `Uncreate()`
* Add control data for the new unit test
* change the implementation of `Unwrite` to the same logic as `Uncreate`
* Rename parameter `reversed`, add descriptions, style #2597
Rename `reversed` to the more explicit `reverse_rate_function`, in class Animation.
Explicitly mention in documentation that setting `reverse_rate_function` doesn't have any effect on `remover` and `introducer`.
* improve documentation of parameter `reverse_rate_function`, doc #2597
improve documentation of parameter `reverse_rate_function` in class `Animation`
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* doc: remove unnecessary comments in creation.py
The comment was added because the name of the parameter `reversed` was similar to reverse, which is a also parameter, but defined in Write().
Now the parameter has a more explicit name `reverse_rate_function`. Developers can get the main idea from its name. So we don't need the comment to tell.
Co-authored-by: Sefik-Palazoglu <sefik.palazoglu.s@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* only let introducer add mobject if not yet present
* fix check for empty moving_mobjects list
* added two tests
* added control data
* black
* fixed usage of Mock in some tests
* check family members instead of mobject list
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* moved moving_mobjects / static_mobjects assignment to begin_animations
* restored correct render flow, made sure static_image is created properly
* fixed some tests
* make sure scene_finished handles frame update correctly
* improve / fix test_vector_scene
* black
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Add test
* Seperate test
* Better solution
* Rebasing is hard
* revert changes to get_style
* handle color lists containing None properly
* added test for match_style with gradient
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* comment out color-related things from tex_mob
* add change to svg_mobject
* MarkupText handles colour internally
* MarkupText handles colour internally
* make coordinate_system.py colour agnostic
* get_line_from_axis_to_point
* add typings for SingleStringMathTex
* add typings for MathTex
* make internal methods internal
* black + isort
* fix typo
* black + isort
* fix typo
* revert internalizing change
* Revert "Merge branch 'mathtexx' of https://github.com/hydrobeam/manim into mathtexx"
This reverts commit 6be3c39814, reversing
changes made to 2b30b446ae.
* remove accidental import
* do it in a less bad way
* WIP: Text2setting causing problems
* allow tex_mobject.py to inherit colour
* allow tex_mobject.py to inherit colour
* add tests
* remove undeedde imports + formatting
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix warnings from pre-commit hooks
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix some tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* remove other color_inheritance test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix typo
* accomodate the color->attribute PR
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix tests and doc build
add a check for None when inheriting colour in
`coordinate_systems.py`, and turn written tests
into graphical tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Comment out `Text` color inheritance test.
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Set font for text_color_inheritance test
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Small change to retrigger docs build
* [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>
* Fix axes plotting bug with logarithmic x-axis
The scaling function was not applied to the last x-value to be evaluated,
resulting in a wrong point of the function plot and a weird line from
the second-last to the last point when using a scaled x-axis.
* Add graphical unit test
Co-authored-by: icedcoffeeee <83535735+icedcoffeeee@users.noreply.github.com>
* first rework
* use rotvec and updated transpose rot mat
* shortcut for about z_axis
* rework get_unit_normal
* rewrite center_of_mass
* rewrite find_intersection
* shoelace using trapz
* use external quaternion package
* Correct error message
Co-authored-by: Kiran-Raj-Dev <90276965+Kiran-Raj-Dev@users.noreply.github.com>
* correct the tests
No major change, just tiny differences due to floating point error
* new test
* Update test_space_ops.py
* Revert "use external quaternion package"
This reverts commit 1fc318ca60.
* Update space_ops.py
* updated tests
* updated tests and error message
* Technically called segments
Co-authored-by: Darylgolden <darylgolden@gmail.com>
* minor changes in wording regarding intersection (lines vs line segments)
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
Co-authored-by: Kiran-Raj-Dev <90276965+Kiran-Raj-Dev@users.noreply.github.com>
Co-authored-by: Darylgolden <darylgolden@gmail.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix issue of nested svg
* fix issue of the order of transforms
* fix bug of node which is not an element
* fix x y property in SVGMobject._handle_transforms
* adapted control data
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Replace finish with clean_up_from_scene in ShowPassingFlash
* Add introducer flag to animations
* Mark some animations as introducers
* Handle animating graph
* Update tests
* Update tests to provide mocked scene
* Make setup_scene internal
* Replace string annotation with new typehints
* [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: Darylgolden <darylgolden@gmail.com>
* rebase
* fixed None bar_names
* fixed scale issues
* fixed to accept negative bar values
* fixed some bugs
* Added docs for parameters (DRAFT)
* clean up parameters
* more clean up
* clean up __init__
* replace add_x_labels with built-in functionality
* adjust default font_size for labels
* Update docs descriptions
* Add bar_width and adjust get_bar_labels
* Add bar_width and adjust get_bar_labels
* Add docs to class and methods
* remove unecessary imports
* remove getters
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Attempt to fix duplicated parameters section
* adjust BarChart example to include title
* switch order around
* change_bar_values
* back to get_bar_values
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* add docs for _update_default_config and fix method
* remove print(dicts)
* allow negative_numbers to work with bar chart
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* allow negative numbers to work with change_bar_values
* add test_probability.py
* add control data
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* change example
* update examples again
* rewrite test
* rewrite other test
* remove comma after list in example
* improve wording in docs
* add parameter/docs for label_constructor
* change create_label_tex and update methods
* update docs
* use decimal number
* switch default to Tex
* update instances of create_label_tex in coordinate_systems.py
* hardcode for add_labels
* add TODO
* use label_constructor
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* fix indentation in docs
* Fix minor doc typo
Co-authored-by: Led Me Explain <ledmeexplain@gmail.com>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* Find indexes in stripped text, not original text
* Add regression test
* Only run the test in linux environement
* Rewrite text2settings in Text to set text color via pango
* Make gradient in Text use pango coloring
* Bump manimpango to newest version
* Update test to use new frames_comparison
* Don't remove svg file on exception
* Bump manimpango
* Fix pre-commit errors
* Fix index bug
* Deprecate no longer used functions set_color_by_t2x
* Remove old commented out code
* Update poetry.lock
* Made set_fill_by_value() support gradients on different axes.
* Removed extra tests and made default for set_fill_by_value to the z-axis.
* Fixed test in test_threed.
* Changed the the set_fill_by_value() test in test_threed.py.
* Fixed set_fill_by_value() documentation
* removed duplicated entries in .gitignore
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Added `about_point` for :class:`~ApplyMatrix`
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Add unit test
* Fix test
* remove unit_test because transform does not update points
* minor docstring formatting changes
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Laith Bahodi <laithbahodi@gmail.com>
Co-authored-by: Laith Bahodi <70682032+hydrobeam@users.noreply.github.com>
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Added even_lengths option to DashedVMobject and updated example
* Added dash offset parameter to DashedVMobject
* Stupid bugfix for np.append()
* tried to update DashedVMobject control data
* modified geomtery test to use new feature and updated control data
* Update manim/mobject/types/vectorized_mobject.py
doc string improvement
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* Update manim/mobject/types/vectorized_mobject.py
Small restructure around dash-overflow handling
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* i don't know what im gitting but something with vmobjects
* renamed even_lengths to equal_lengths
* fixed equal_lengths renaming in Example
Co-authored-by: Benjamin Hackl <devel@benjamin-hackl.at>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* make frame_comparison a part of the library
* update frames_comparison imports; move control data
* change import in documentation
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* properly split up boolean_ops tests
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* added __init__ to utils.testing
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>