v0.12.0¶
- Date:
November 02, 2021
Contributors¶
A total of 40 people contributed to this release. People with a ‘+’ by their names authored a patch for the first time.
Anima. +
Arcstur +
Benjamin Hackl
Christopher Besch
Darylgolden
David Yang +
Dhananjay Goratela +
Ethan Rooke +
Eugene Chung +
GameDungeon
Gustav-Rixon +
Jan-Hendrik Müller
Josiah Winslow +
Laith Bahodi
Martmists +
Michael Hill +
Naveen M K
Nick +
NotWearingPants +
Peeter Joot +
Ryan McCauley
Viicos +
heitor +
icedcoffeeee
kieran-pringle +
Виктор Виктор +
The patches included in this release have been reviewed by the following contributors.
Alex Lembcke
Anima.
Benjamin Hackl
Christopher Besch
Darylgolden
David Yang
Dhananjay Goratela
Ethan Rooke
Eugene Chung
Gustav-Rixon
Hugues Devimeux
Jan-Hendrik Müller
Jason Villanueva
Laith Bahodi
Mysaa
Naveen M K
Nick
Oliver
Ryan McCauley
Viicos
icedcoffeeee
kieran-pringle
Pull requests merged¶
A total of 52 pull requests were merged for this release.
Highlights¶
- PR #1812: Implemented logarithmic scaling for
NumberLine/Axes This implements scaling bases that can be passed to the
scalingkeyword argument ofNumberLine. SeeLogBase(for a logarithmic scale) andLinearBase(for the default scale) for more details and examples.
- PR #1812: Implemented logarithmic scaling for
- PR #2152: Introduced API for scene sections via
Scene.next_section() Sections divide a scene into multiple parts, resulting in multiple output videos (when using the
--save_sectionsflag). The cuts between two sections are defined by the user in theconstruct()method. Each section has an optional name and type, which can be used by a plugin (see an example). You can skip rendering specific sections with theskip_animationskeyword argument.
- PR #2152: Introduced API for scene sections via
Deprecated classes and functions¶
PR #1926: OpenGL: changed
submobjectsto be a propertyPR #2245: Removed deprecated method
get_center_pointand parametersazimuth_label_scale,number_scale_value,label_scale,scale_factor,size,x_min,x_max,delta_x,y_min,y_max,delta_yPR #2065: Deprecated
FullScreenFadeRectangleandPictureInPictureFrame
New features¶
PR #2025: Implemented
CoordinateSystem.input_to_graph_coords()and fixedCoordinateSystem.angle_of_tangent()PR #2151: Added option to set the input file from a config file
PR #2128: Added keyword arguments
match_center,match_widthetc. toMobject.become()PR #2162: Implemented
MovingCamera.auto_zoom()for automatically zooming onto specified mobjectsPR #2236: Added
skip_animationsargument toScene.next_section()PR #2196: Implemented
Line3D.parallel_to()andLine3D.perpendicular_to()
Enhancements¶
- PR #2138: Fixed example for
coordinate_label()and added more customization forMatrix Additional keyword arguments for
coordinate_label()are passed to the constructed matrix.Matrixnow accepts abracket_configkeyword argument.
- PR #2138: Fixed example for
PR #2139: Changed the color of
NumberLinefromLIGHT_GREYtoWHITEPR #2243: Fixed wasteful recursion in
Mobject.get_merged_array()PR #2205: Improved last frame output handling for the OpenGL renderer
PR #2172: Added
should_renderattribute to disable rendering mobjectsPR #2182: Changed the default width of videos in Jupyter notebooks to 60%
Fixed bugs¶
PR #2244: Fixed
CoordinateSystem.get_area()when using few plot points and a boundary graphPR #2232: Fixed
Graphstopping to update after animating additions/deletions of vertices or edgesPR #2142: Fixed issue with duplicates in OpenGL family and added tests
PR #2168: Fixed order of return values of
space_ops.cartesian_to_spherical()PR #2160: Made projection shaders compatible with
StreamLinesPR #2140: Fixed passing color lists to
Mobject.set_color()for the OpenGL rendererPR #2211: Fixed animations not respecting the specified rate function
PR #2161: Fixed
IndexOutOfBoundsErrorin TeX loggingPR #2148: Fixed
Arrowtip disorientation withLine.put_start_and_end_on()PR #2192: Fixed
svg_path.string_to_numbers()sometimes returning stringsPR #2185: Fixed type mismatch for height and width parameters of
Text
Changes concerning the testing system¶
Changes to our development infrastructure¶
PR #2191: Removed
add-trailing-commapre-commit hook
Code quality improvements and similar refactors¶
PR #2136: Added type hints to all colors
PR #2220: Cleanup: let
Scene.renderer.timereturn something that makes sensePR #2222: Updated Classifiers in
pyproject.toml: removed Python 3.6, added Python 3.9PR #2213: Removed redundant
partial_movie_filesparameter inSceneFileWriter.combine_to_movie()- PR #2200: Addressed some maintenance TODOs
Changed an Exception to ValueError
Fixed
MappingCamera.points_to_pixel_coords()by adding themobjectargument of the parentRounded up width in
SplitScreenCameraAdded docstring to
Camera.capture_mobject()
PR #2194: Added type hints to
utils.imagesPR #2171: Added type hints to
utils.ipython_magicPR #2164: Improved readability of regular expression
New releases¶
PR #2247: Prepared new release
v0.12.0