v0.18.1¶
- Date
April 28, 2024
What’s Changed¶
Breaking Changes and Deprecations¶
Removed deprecated
manim newcommand by @chopan050 in PR #3512Removed support for dynamic plugin imports by @Viicos in PR #3524
Remove meth:
.Mobject.wagby @JasonGrace2282 in PR #3539Remove deprecated parameters and animations by @JasonGrace2282 in PR #3688
New Features¶
Added
cap_stylefeature toVMobjectby @MathItYT in PR #3516Allow hiding version splash by @jeertmans in PR #3329
Added the ability to pass lists and generators to
Scene.play()by @MrDiver in PR #3365Added
--preview_commandcli flag by @JasonGrace2282 in PR #3615
Fixed Bugs and Enhancements¶
Allow accessing ghost vectors in :class:
.LinearTransformationSceneby @JasonGrace2282 in PR #3435Optimized
get_unit_normal()and replacednp.cross()with customcross()inmanim.utils.space_opsby @chopan050 in PR #3494Implement caching of fonts list to improve runtime performance by @MrDiver in PR #3316
Reformatting the
--save_sectionsoutput to have the format<Scene>_<SecNum>_<SecName><extension>by @doaamuham in PR #3499Account for dtype in the pixel array so the maximum value stays correct in the invert function by @jeertmans in PR #3493
Added
grid_linesattribute toRectangleto add individual styling to the grid lines by @RobinPH in PR #3428Fixed rectangle grid properties (#3082) by @pauluhlenbruck in PR #3513
Fixed animations with zero runtime length to give a useful error instead of a broken pipe by @MrDiver in PR #3491
Fixed stroke width being ignored by
StreamLineswith a single color by @yashm277 in PR #3436Fixed formatting of
MoveAlongPathdocs by @JasonGrace2282 in PR #3541Added helpful hints to
VGroup.add()error message by @vvolhejn in PR #3561Made
earclip_triangulationmore robust by @hydromelvictor in PR #3574Fixed
write_subcaption_fileerror when using OpenGL renderer by @yuan-xy in PR #3546Fixed
get_arc_center()returning reference of point by @sparshg in PR #3599Improved handling of specified font name by @staghado in PR #3429
Fixing the behavior of
.becometo not modify target mobject via side effects fix color linking by @MrDiver in PR #3508Fixed bug in :class:
.VMobjectFromSVGPathby @abul4fia in PR #3677Fix for windows cp1252 encoding failure (fix test pipeline) by @JasonGrace2282 in PR #3687
Fix NameError in try… except by @JasonGrace2282 in PR #3694
Fix successive calls of :meth:
.LinearTransformationScene.apply_matrixby @SirJamesClarkMaxwell in PR #3675Fixed
Mobject.put_start_and_end_onwith same start and end point by @MontroyJosh in PR #3718Fixed issue where
SpiralIndoesn’t show elements by @Gixtox in PR #3589Cleaned
Graphlayouts and increase flexibility by @Nikhil-42 in PR #3434AnimationGroup: optimizedinterpolate()and fixed alpha bug onfinish()by @chopan050 in PR #3542Fixed warning about missing plugin
""by @behackl in PR #3734
Documentation¶
Fixed typo: 360° to 180° in quickstart tutorial by @szchixy in PR #3498
Fixed typo in mobject docstring:
line->squareby @yuan-xy in PR #3509Explain
.Transformvs.ReplacementTransformin quickstart examples by @JasonGrace2282 in PR #3500Fixed formatting in building blocks tutorial by @MrDiver in PR #3515
Added Documentation to
.to_edgeandto_cornerby @TheMathematicFanatic in PR #3408Added some words about Cairo 1.18 by @jeertmans in PR #3530
Fixed typo of
get_y_axis_labelparameter documentation by @yuan-xy in PR #3547Added note in docstring of
ManimColorabout class constructors by @JasonGrace2282 in PR #3554Improve documentation section about contributing to docs by @chopan050 in PR #3555
Removed duplicated documentation for -s / –save_last_frame CLI flag by @Gixtox in PR #3528
Updated Docker instructions to use bash from the PATH by @NotWearingPants in PR #3582
Added
ref_classforBooleanOperationsin Example Gallery by @JasonGrace2282 in PR #3598Changed
Vector3toVector3Din contributing docs by @JasonGrace2282 in PR #3639Added some examples for
Mobject/VMobjectmethods by @JasonGrace2282 in PR #3641Fixed broken link to Poetry’s installation guide in the documentation by @biinnnggggg in PR #3692
Fixed minor grammatical errors found in the index page of the documentation by @biinnnggggg in PR #3690
Fixed typo on page about translations by @biinnnggggg in PR #3696
Fixed outdated description of CLI option in Manim’s Output Settings by @HairlessVillager in PR #3674
Updated typing guidelines by @JasonGrace2282 in PR #3704
Updated documentation and typings for
ParametricFunctionby @danielzsh in PR #3703Fixed docstring markup in
Rotateby @TheCrowned in PR #3721Improve consistency in axis label example by @amrear in PR #3730
Maintenance and Testing¶
Fixed wrong path in action building downloadable docs by @behackl in PR #3450
Update dependency constraints, fix deprecation warnings by @Viicos in PR #3376
Update Docker base image to python3.12-slim (#3458) by @PikaBlue107 in PR #3459
Fixed
line_jointojoint_typein example_scenes/basic.py by @szchixy in PR #3510Fixed :attr:
.Mobject.animatetype-hint to allow LSP autocomplete by @JasonGrace2282 in PR #3543Finish TODO’s in
contributing/typings.rstby @JasonGrace2282 in PR #3545Fixed use of
Mobject’s deprecatedget_*()andset_*()methods in Cairo tests by @JasonGrace2282 in PR #3549Added support for Manim type aliases in Sphinx docs and added new TypeAliases by @chopan050 in PR #3484
Fixed typing of
Animationby @dandavison in PR #3568Added some TODOs for future use of
ManimFrameby @chopan050 in PR #3553Fixed typehint of :attr:
InternalPoint2D_Arrayby @JasonGrace2282 in PR #3592Revert vector type aliases to NumPy ndarrays by @chopan050 in PR #3595
Run
poetry lock --no-updateby @JasonGrace2282 in PR #3621Code Cleanup: removing unused imports and global variables by @JasonGrace2282 in PR #3620
Fixed type hint of
Vectordirection parameter by @JasonGrace2282 in PR #3640Flake8 rule C901 is about McCabe code complexity by @cclauss in PR #3673
Updated year in license by @JasonGrace2282 in PR #3689
Automated copyright updating for docs by @JasonGrace2282 in PR #3708
Fixed some typehints in
mobject.pyby @JasonGrace2282 in PR #3668Search for type aliases if TYPE_CHECKING by @JasonGrace2282 in PR #3671
Follow-up to graph layout cleanup: improvements for tests and typing by @behackl in PR #3728
GH Actions: Changed from macos-latest to macos-13 by @JasonGrace2282 in PR #3729
Fixed return type inconsistency for
get_anchors()by @JinchuLi2002 in PR #3214
Dependency Version Changes¶
Bump jupyter-server from 2.9.1 to 2.11.2 by @dependabot in PR #3497
Bump github/codeql-action from 2 to 3 by @dependabot in PR #3567
Bump actions/upload-artifact from 3 to 4 by @dependabot in PR #3566
Bump actions/setup-python from 4 to 5 by @dependabot in PR #3565
updated several packages (pillow, jupyterlab, notebook, jupyterlab-lsp, jinja2, gitpython) by @behackl in PR #3593
Bump black from 23.12.1 to 24.3.0 by @dependabot in PR #3649
Bump cryptography from 42.0.0 to 42.0.4 by @dependabot in PR #3629
Bump actions/cache from 3 to 4 by @dependabot in PR #3607
Bump FedericoCarboni/setup-ffmpeg from 2 to 3 by @dependabot in PR #3608
Bump ssciwr/setup-mesa-dist-win from 1 to 2 by @dependabot in PR #3609
Bump idna from 3.6 to 3.7 by @dependabot in PR #3693
Bump pillow from 10.2.0 to 10.3.0 by @dependabot in PR #3672
[pre-commit.ci] pre-commit autoupdate by @pre-commit-ci in PR #3332
Updated sphinx deps by @JasonGrace2282 in PR #3720
New Contributors¶
@PikaBlue107 made their first contribution in PR #3459
@doaamuham made their first contribution in PR #3499
@pauluhlenbruck made their first contribution in PR #3513
@TheMathematicFanatic made their first contribution in PR #3408
@hydromelvictor made their first contribution in PR #3574
@dandavison made their first contribution in PR #3568
@biinnnggggg made their first contribution in PR #3692
@HairlessVillager made their first contribution in PR #3674
@SirJamesClarkMaxwell made their first contribution in PR #3675
@danielzsh made their first contribution in PR #3703
@TheCrowned made their first contribution in PR #3721
@MontroyJosh made their first contribution in PR #3718
Full Changelog: https://github.com/ManimCommunity/manim/compare/v0.18.0.post0…v0.18.1