v0.9.0¶
- Date:
2021年8月2日
贡献者¶
共有35人参与了此版本的贡献。名字旁边带有“+”的人是首次提交补丁的作者。
亚历克斯·莱姆贝克
本杰明·哈克尔
Darylgolden
德文·尼尔
Harivinay +
Hugues Devimeux
贾里德·休斯 +
杰森·维拉纽瓦
卡达塔鲁·基肖尔 +
KingWampy
让我来解释+
莱斯·巴霍迪
穆罕默德·阿尔-费特亚尼
诺姆·扎克斯
奥利弗
保罗·C·默多克
拉加夫·普拉巴卡尔 +
瑞安·麦考利
Suhail Sherif +
战术 +
乌德西亚·杜加纳 +
铀克洛诺鲁姆 +
Vinh H. Pham (Vincent) +
ccn +
冰咖啡 +
sahilmakhijani +
sparshg
此版本中包含的补丁已由以下贡献者审核。
阿比吉特·穆提亚拉
亚历克斯·莱姆贝克
本杰明·哈克尔
Darylgolden
德文·尼尔
Harivinay
Hugues Devimeux
扬-亨德里克·穆勒
杰森·维拉纽瓦
KingWampy
莱斯·巴霍迪
Lino
穆罕默德·阿尔-费特亚尼
奥利弗
拉加夫·戈尔
苏海尔·谢里夫
icedcoffeeee
sahilmakhijani
sparshg
合并的拉取请求¶
本次发布共合并了55个拉取请求。
亮点¶
已弃用的类和函数¶
- #1848: Deprecated parameters for
DashedLineandDashedVMobject dash_spacing是一个未使用的参数positive_space_ratio已被替换为更短的名称dashed_ratio
- #1848: Deprecated parameters for
- #1773: Remove all classes and functions that were deprecated until
v0.7.0andv0.8.0 类
FadeInFrom,FadeOutAndShift,FadeOutToPoint,FadeInFromPoint,FadeInFromLarge,VFadeIn,VFadeOut,VFadeInThenOut已被移除,请使用FadeIn或FadeOut并配合适当的关键字参数。类
CircleIndicate,ShowCreationThenDestruction,AnimationOnSurroundingRectangle,ShowPassingFlashAround,ShowCreationThenDestructionAround,ShowCreationThenFadeAround,WiggleOutThenIn,TurnInsideOut已被移除。请使用Circumscribe,ShowPassingFlash, 或Wiggle代替。类
OpenGLTexMobject和OpenGLTextMobject已被移除,请使用MathTex和Tex代替。此外,VMobjectFromSVGPathstring已被移除,请使用SVGPathMobject代替。最后,实用函数
get_norm和cross已被移除(请使用相应的 Numpy 方法代替),并且函数angle_between已被替换为angle_between_vectors。
- #1773: Remove all classes and functions that were deprecated until
- #1731: Deprecated
ParametricSurfaceparameters u_min和u_max已被u_range替换。v_min和v_max已被v_range替换。
- #1731: Deprecated
新功能¶
- #1780: Allow non-numerical values to be added to
NumberLineandAxes 向
NumberLine添加了NumberLine.add_labels()方法,该方法接受一个位置/值的字典。CoordinateSystem.add_coordinates()现在也接受字典。
- #1780: Allow non-numerical values to be added to
- #1765: Added a static method
Circle.from_three_points()for defining a circle from three points 在
space_ops.py中添加了一个新的perpendicular_bisector()函数
- #1765: Added a static method
- #1686: Added
ParametricSurface.set_fill_by_value() 此方法允许将颜色渐变应用于
ParametricSurface,包括定义颜色应在哪些点居中的能力。
- #1686: Added
增强功能¶
- #1760: Added
window_sizeflag to manually adjust the size of the OpenGL window 接受一个形式为
x,y的元组。
- #1760: Added
- #1823: Reworked
DashedVMobject 重写了生成破折号的逻辑
- #1823: Reworked
- #1808: OpenGL renderer updates
向所有OpenGLVMobjects添加模型矩阵
改进了向量化mobject着色器的性能
添加了作为场景一部分而不是mobject的更新器
- #1787: Made
DecimalNumberapply color to the ellipsis 当在DecimalNumber中将show_ellipsis设置为true时,使颜色应用于点。
- #1787: Made
#1757: 当有大量项目需要哈希时添加了警告。
修复的bug¶
#1722: 修复了
AnimationGroup中的remover=True- #1727: Fixed some hot reload issues and compatibility with IDEs
修复了在非tty终端上运行时交互式嵌入失败的问题
修复了文件观察器在第二次运行时出错的问题,因为第一个观察器未关闭
- #1821: Fixed issues concerning
frame_centerinThreeDScene 在
ThreeDScene中更改frame_center现在实际上会改变相机的位置。现在,只有
frame_center动画的动画将正确渲染。一旦
frame_center被动画化,原点处不会创建黑点。
- #1821: Fixed issues concerning
#1826: 修复了
BarChart.change_bar_values()的缩放问题#1839: 允许在使用OpenGL渲染器时向
.animate传递参数#1791:
set_z_index()现在设置所有子对象的z_index值#1792: 修复了在使用PNG格式时导致试运行失败的bug
#1790: 修复了从
manimlib的导入问题#1786: 修复了当数字位数变化时
DecimalNumber无法正常工作的问题#1763: 修复了无法在配置文件中设置某些CLI标志的问题
- #1776:
CoordinateSystem.get_riemann_rectangles()now uses the graph’s range instead of the axes range 如果没有指定范围,get_riemann_rectangles 仅在面积正确有界的地方生成矩形
- #1776:
#1770: 重写了
OpenGLMobject.put_start_and_end_on()以在3D中正确工作#1736: 修复了
LinearTransformationScene在多个动画上崩溃的问题
关于测试系统的更改¶
我们的开发基础设施的变化¶
#1830: 在PR模板中更简洁地描述文档URL
代码质量改进和类似的重构¶
新版本¶
#1850: 将版本号提升至
v0.9.0并生成变更日志