Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Oct 5, 2024
1 parent 520dc33 commit 5ca9536
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions manim/mobject/graphing/probability.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,11 +281,11 @@ def __init__(

elif len(y_range) == 2:
y_range = [*y_range, round(max(self.values) / y_length, 2)]
#y_step_target = max(self.values) / y_length
#y_range = [
# y_step_target = max(self.values) / y_length
# y_range = [
# *y_range,
# round(y_step_target, max(2, int(np.ceil(-np.log10(y_step_target))))),
#]
# ]

if x_length is None:
x_length = min(len(self.values), config.frame_width - 2)
Expand Down

0 comments on commit 5ca9536

Please sign in to comment.