mirror of
https://github.com/3b1b/manim.git
synced 2025-08-02 11:03:03 +08:00
renamed num_decimal_points -> num_decimal_places
This commit is contained in:
@ -10,7 +10,7 @@ from utils.config_ops import digest_config
|
||||
|
||||
class ChangingDecimal(Animation):
|
||||
CONFIG = {
|
||||
"num_decimal_points": None,
|
||||
"num_decimal_places": None,
|
||||
"show_ellipsis": None,
|
||||
"position_update_func": None,
|
||||
"tracked_mobject": None,
|
||||
@ -21,7 +21,7 @@ class ChangingDecimal(Animation):
|
||||
self.decimal_number_config = dict(
|
||||
decimal_number_mobject.initial_config
|
||||
)
|
||||
for attr in "num_decimal_points", "show_ellipsis":
|
||||
for attr in "num_decimal_places", "show_ellipsis":
|
||||
value = getattr(self, attr)
|
||||
if value is not None:
|
||||
self.decimal_number_config[attr] = value
|
||||
|
Reference in New Issue
Block a user