fix: ensure self.y_axis_config is used instead of y_axis_config

This commit is contained in:
csoapyhands-gif 2026-03-20 13:42:51 +04:00 committed by GitHub
commit 1b7963bf2a
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

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