mirror of
https://github.com/ManimCommunity/manim.git
synced 2026-06-22 10:01:47 +00:00
fix: ensure self.y_axis_config is used instead of y_axis_config
This commit is contained in:
parent
ffb78ed630
commit
1b7963bf2a
1 changed files with 1 additions and 1 deletions
|
|
@ -1994,7 +1994,7 @@ class Axes(VGroup, CoordinateSystem, metaclass=ConvertToOpenGL):
|
|||
else:
|
||||
x_length = round(config.frame_width) - 2
|
||||
|
||||
if "unit_size" in y_axis_config:
|
||||
if "unit_size" in self.y_axis_config:
|
||||
y_length = self.y_axis_config["unit_size"]
|
||||
else:
|
||||
y_length = round(config.frame_width) - 2
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue