mirror of
https://github.com/3b1b/manim.git
synced 2025-08-05 16:49:03 +00:00
Made 0 a default value for DecimalNumber
This commit is contained in:
parent
9bb3b8f4bf
commit
a72b769c0f
1 changed files with 1 additions and 1 deletions
|
@ -15,7 +15,7 @@ class DecimalNumber(VMobject):
|
|||
"edge_to_fix": LEFT,
|
||||
}
|
||||
|
||||
def __init__(self, number, **kwargs):
|
||||
def __init__(self, number=0, **kwargs):
|
||||
VMobject.__init__(self, **kwargs)
|
||||
self.number = number
|
||||
self.initial_config = kwargs
|
||||
|
|
Loading…
Add table
Reference in a new issue