Make it so you can pass in x_range and y_range to NumberPlane

This commit is contained in:
Grant Sanderson 2021-01-07 16:37:23 -08:00
parent 42a3c56898
commit 067f25d4b8

View file

@ -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):