Skip to content

armgit / manim

Public Imported from GitHub
0

A community-maintained Python framework for creating mathematical animations.

Changed default for Interval numbering

Grant Sandersonec1436ef5aed
diff --git a/manimlib/mobject/number_line.py b/manimlib/mobject/number_line.py
index 653c9a191..df372e3eb 100644
--- a/manimlib/mobject/number_line.py
+++ b/manimlib/mobject/number_line.py
@@ -183,4 +183,7 @@ class UnitInterval(NumberLine):
"tick_frequency": 0.1,
"numbers_with_elongated_ticks": [0, 1],
"number_at_center": 0.5,
+ "decimal_number_config": {
+ "num_decimal_places": 1,
+ }
}