A community-maintained Python framework for creating mathematical animations.
short-title: v0.18.1 description: Changelog for Manim v0.18.1
v0.18.1
Date : April 28, 2024
What's Changed
Breaking Changes and Deprecations
- Removed deprecated
manim newcommand by {user}chopan050in {pr}3512 - Removed support for dynamic plugin imports by {user}
Viicosin {pr}3524 - Remove meth:
.Mobject.wagby {user}JasonGrace2282in {pr}3539 - Remove deprecated parameters and animations by {user}
JasonGrace2282in {pr}3688
New Features
- Added
cap_stylefeature toVMobjectby {user}MathItYTin {pr}3516 - Allow hiding version splash by {user}
jeertmansin {pr}3329 - Added the ability to pass lists and generators to
Scene.play()by {user}MrDiverin {pr}3365 - Added
--preview_commandcli flag by {user}JasonGrace2282in {pr}3615
Fixed Bugs and Enhancements
- Allow accessing ghost vectors in :class:
.LinearTransformationSceneby {user}JasonGrace2282in {pr}3435 - Optimized
get_unit_normal()and replacednp.cross()with customcross()inmanim.utils.space_opsby {user}chopan050in {pr}3494 - Implement caching of fonts list to improve runtime performance by {user}
MrDiverin {pr}3316 - Reformatting the
--save_sectionsoutput to have the format<Scene>_<SecNum>_<SecName><extension>by {user}doaamuhamin {pr}3499 - Account for dtype in the pixel array so the maximum value stays correct in the invert function by {user}
jeertmansin {pr}3493 - Added
grid_linesattribute toRectangleto add individual styling to the grid lines by {user}RobinPHin {pr}3428 - Fixed rectangle grid properties (#3082) by {user}
pauluhlenbruckin {pr}3513 - Fixed animations with zero runtime length to give a useful error instead of a broken pipe by {user}
MrDiverin {pr}3491 - Fixed stroke width being ignored by
StreamLineswith a single color by {user}yashm277in {pr}3436 - Fixed formatting of
MoveAlongPathdocs by {user}JasonGrace2282in {pr}3541 - Added helpful hints to
VGroup.add()error message by {user}vvolhejnin {pr}3561 - Made
earclip_triangulationmore robust by {user}hydromelvictorin {pr}3574 - Refactored
TexTemplateby {user}Viicosin {pr}3520 - Fixed
write_subcaption_fileerror when using OpenGL renderer by {user}yuan-xyin {pr}3546 - Fixed
get_arc_center()returning reference of point by {user}sparshgin {pr}3599 - Improved handling of specified font name by {user}
staghadoin {pr}3429 - Fixing the behavior of
.becometo not modify target mobject via side effects fix color linking by {user}MrDiverin {pr}3508 - Fixed bug in :class:
.VMobjectFromSVGPathby {user}abul4fiain {pr}3677 - Fix for windows cp1252 encoding failure (fix test pipeline) by {user}
JasonGrace2282in {pr}3687 - Fix NameError in try... except by {user}
JasonGrace2282in {pr}3694 - Fix successive calls of :meth:
.LinearTransformationScene.apply_matrixby {user}SirJamesClarkMaxwellin {pr}3675 - Fixed
Mobject.put_start_and_end_onwith same start and end point by {user}MontroyJoshin {pr}3718 - Fixed issue where
SpiralIndoesn't show elements by {user}Gixtoxin {pr}3589 - Cleaned
Graphlayouts and increase flexibility by {user}Nikhil-42in {pr}3434 AnimationGroup: optimizedinterpolate()and fixed alpha bug onfinish()by {user}chopan050in {pr}3542- Fixed warning about missing plugin
""by {user}behacklin {pr}3734
Documentation
- Typo in
indicationdocumentation by {user}jcepin {pr}3477 - Fixed typo: 360° to 180° in quickstart tutorial by {user}
szchixyin {pr}3498 - Fixed typo in mobject docstring:
line->squareby {user}yuan-xyin {pr}3509 - Explain
.Transformvs.ReplacementTransformin quickstart examples by {user}JasonGrace2282in {pr}3500 - Fixed formatting in building blocks tutorial by {user}
MrDiverin {pr}3515 - Fixed
Indicatedocstring typo by {user}Lawqupin {pr}3461 - Added Documentation to
.to_edgeandto_cornerby {user}TheMathematicFanaticin {pr}3408 - Added some words about Cairo 1.18 by {user}
jeertmansin {pr}3530 - Fixed typo of
get_y_axis_labelparameter documentation by {user}yuan-xyin {pr}3547 - Added note in docstring of
ManimColorabout class constructors by {user}JasonGrace2282in {pr}3554 - Improve documentation section about contributing to docs by {user}
chopan050in {pr}3555 - Removed duplicated documentation for -s / --save_last_frame CLI flag by {user}
Gixtoxin {pr}3528 - Updated Docker instructions to use bash from the PATH by {user}
NotWearingPantsin {pr}3582 - Fixed typo in
value_tracker.pyby {user}yuan-xyin {pr}3594 - Added
ref_classforBooleanOperationsin Example Gallery by {user}JasonGrace2282in {pr}3598 - Changed
Vector3toVector3Din contributing docs by {user}JasonGrace2282in {pr}3639 - Added some examples for
Mobject/VMobjectmethods by {user}JasonGrace2282in {pr}3641 - Fixed broken link to Poetry's installation guide in the documentation by {user}
biinnngggggin {pr}3692 - Fixed minor grammatical errors found in the index page of the documentation by {user}
biinnngggggin {pr}3690 - Fixed typo on page about translations by {user}
biinnngggggin {pr}3696 - Fixed outdated description of CLI option in Manim's Output Settings by {user}
HairlessVillagerin {pr}3674 - Mention pixi in installation guide by {user}
pavelzwin {pr}3678 - Updated typing guidelines by {user}
JasonGrace2282in {pr}3704 - Updated documentation and typings for
ParametricFunctionby {user}danielzshin {pr}3703 - Fixed docstring markup in
Rotateby {user}TheCrownedin {pr}3721 - Improve consistency in axis label example by {user}
amrearin {pr}3730
Maintenance and Testing
- Fixed wrong path in action building downloadable docs by {user}
behacklin {pr}3450 - Add type hints to
_configby {user}Viicosin {pr}3440 - Update dependency constraints, fix deprecation warnings by {user}
Viicosin {pr}3376 - Update Docker base image to python3.12-slim (#3458) by {user}
PikaBlue107in {pr}3459 - Fixed
line_jointojoint_typein example_scenes/basic.py by {user}szchixyin {pr}3510 - Fixed :attr:
.Mobject.animatetype-hint to allow LSP autocomplete by {user}JasonGrace2282in {pr}3543 - Finish TODO's in
contributing/typings.rstby {user}JasonGrace2282in {pr}3545 - Fixed use of
Mobject's deprecatedget_*()andset_*()methods in Cairo tests by {user}JasonGrace2282in {pr}3549 - Added support for Manim type aliases in Sphinx docs and added new TypeAliases by {user}
chopan050in {pr}3484 - Fixed typing of
Animationby {user}dandavisonin {pr}3568 - Added some TODOs for future use of
ManimFrameby {user}chopan050in {pr}3553 - Fixed typehint of :attr:
InternalPoint2D_Arrayby {user}JasonGrace2282in {pr}3592 - Fixed error in Windows CI pipeline by {user}
behacklin {pr}3611 - Fixed type hint of indication.py by {user}
yuan-xyin {pr}3613 - Revert vector type aliases to NumPy ndarrays by {user}
chopan050in {pr}3595 - Run
poetry lock --no-updateby {user}JasonGrace2282in {pr}3621 - Code Cleanup: removing unused imports and global variables by {user}
JasonGrace2282in {pr}3620 - Fixed type hint of
Vectordirection parameter by {user}JasonGrace2282in {pr}3640 - Flake8 rule C901 is about McCabe code complexity by {user}
cclaussin {pr}3673 - Updated year in license by {user}
JasonGrace2282in {pr}3689 - Automated copyright updating for docs by {user}
JasonGrace2282in {pr}3708 - Fixed some typehints in
mobject.pyby {user}JasonGrace2282in {pr}3668 - Search for type aliases if TYPE_CHECKING by {user}
JasonGrace2282in {pr}3671 - Follow-up to graph layout cleanup: improvements for tests and typing by {user}
behacklin {pr}3728 - GH Actions: Changed from macos-latest to macos-13 by {user}
JasonGrace2282in {pr}3729 - Fixed return type inconsistency for
get_anchors()by {user}JinchuLi2002in {pr}3214 - Prepared new release:
v0.18.1by {user}behacklin {pr}3719
Dependency Version Changes
- Bump jupyter-server from 2.9.1 to 2.11.2 by {user}
dependabotin {pr}3497 - Bump github/codeql-action from 2 to 3 by {user}
dependabotin {pr}3567 - Bump actions/upload-artifact from 3 to 4 by {user}
dependabotin {pr}3566 - Bump actions/setup-python from 4 to 5 by {user}
dependabotin {pr}3565 - updated several packages (pillow, jupyterlab, notebook, jupyterlab-lsp, jinja2, gitpython) by {user}
behacklin {pr}3593 - Update jupyter.rst by {user}
abul4fiain {pr}3630 - Bump black from 23.12.1 to 24.3.0 by {user}
dependabotin {pr}3649 - Bump cryptography from 42.0.0 to 42.0.4 by {user}
dependabotin {pr}3629 - Bump actions/cache from 3 to 4 by {user}
dependabotin {pr}3607 - Bump FedericoCarboni/setup-ffmpeg from 2 to 3 by {user}
dependabotin {pr}3608 - Bump ssciwr/setup-mesa-dist-win from 1 to 2 by {user}
dependabotin {pr}3609 - Bump idna from 3.6 to 3.7 by {user}
dependabotin {pr}3693 - Bump pillow from 10.2.0 to 10.3.0 by {user}
dependabotin {pr}3672 - [pre-commit.ci] pre-commit autoupdate by {user}
pre-commit-ciin {pr}3332 - Updated sphinx deps by {user}
JasonGrace2282in {pr}3720
New Contributors
- {user}
Lawqupmade their first contribution in {pr}3461 - {user}
jcepmade their first contribution in {pr}3477 - {user}
szchixymade their first contribution in {pr}3498 - {user}
PikaBlue107made their first contribution in {pr}3459 - {user}
yuan-xymade their first contribution in {pr}3509 - {user}
MathItYTmade their first contribution in {pr}3516 - {user}
doaamuhammade their first contribution in {pr}3499 - {user}
RobinPHmade their first contribution in {pr}3428 - {user}
pauluhlenbruckmade their first contribution in {pr}3513 - {user}
yashm277made their first contribution in {pr}3436 - {user}
TheMathematicFanaticmade their first contribution in {pr}3408 - {user}
vvolhejnmade their first contribution in {pr}3561 - {user}
hydromelvictormade their first contribution in {pr}3574 - {user}
dandavisonmade their first contribution in {pr}3568 - {user}
Gixtoxmade their first contribution in {pr}3528 - {user}
staghadomade their first contribution in {pr}3429 - {user}
biinnngggggmade their first contribution in {pr}3692 - {user}
HairlessVillagermade their first contribution in {pr}3674 - {user}
SirJamesClarkMaxwellmade their first contribution in {pr}3675 - {user}
danielzshmade their first contribution in {pr}3703 - {user}
TheCrownedmade their first contribution in {pr}3721 - {user}
MontroyJoshmade their first contribution in {pr}3718 - {user}
amrearmade their first contribution in {pr}3730
Full Changelog: https://github.com/ManimCommunity/manim/compare/v0.18.0.post0...v0.18.1