mirror of
https://github.com/3b1b/manim.git
synced 2025-09-19 04:41:56 +00:00
Make it so you can pass in x_range and y_range to NumberPlane
This commit is contained in:
parent
42a3c56898
commit
067f25d4b8
1 changed files with 2 additions and 2 deletions
|
@ -247,8 +247,8 @@ class NumberPlane(Axes):
|
|||
"make_smooth_after_applying_functions": True,
|
||||
}
|
||||
|
||||
def __init__(self, **kwargs):
|
||||
super().__init__(**kwargs)
|
||||
def __init__(self, x_range=None, y_range=None, **kwargs):
|
||||
super().__init__(x_range, y_range, **kwargs)
|
||||
self.init_background_lines()
|
||||
|
||||
def init_background_lines(self):
|
||||
|
|
Loading…
Add table
Reference in a new issue