mirror of
https://github.com/3b1b/manim.git
synced 2025-09-01 00:48:45 +00:00
Fixed ZeroDivisionError for Axes.
This commit is contained in:
parent
ff87e2bfbc
commit
c4a0e65089
1 changed files with 2 additions and 2 deletions
|
@ -38,12 +38,12 @@ class Axes(VGroup):
|
|||
VGroup.__init__(self, **kwargs)
|
||||
x_axis_config = merge_config([
|
||||
self.x_axis_config,
|
||||
{"x_min": self.x_min, "x_max": self.x_min},
|
||||
{"x_min": self.x_min, "x_max": self.x_max},
|
||||
self.number_line_config,
|
||||
])
|
||||
y_axis_config = merge_config([
|
||||
self.y_axis_config,
|
||||
{"x_min": self.y_min, "x_max": self.y_min},
|
||||
{"x_min": self.y_min, "x_max": self.y_max},
|
||||
self.number_line_config,
|
||||
])
|
||||
self.x_axis = NumberLine(**x_axis_config)
|
||||
|
|
Loading…
Add table
Reference in a new issue