From 9f5c2dff48a575322d7eb0b512948427815ba47f Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Sun, 15 Sep 2024 13:51:45 +0000 Subject: [PATCH] [pre-commit.ci] auto fixes from pre-commit.com hooks for more information, see https://pre-commit.ci --- manim/mobject/graphing/probability.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/manim/mobject/graphing/probability.py b/manim/mobject/graphing/probability.py index d1f960d9c7..fb86b2b777 100644 --- a/manim/mobject/graphing/probability.py +++ b/manim/mobject/graphing/probability.py @@ -281,7 +281,10 @@ def __init__( elif len(y_range) == 2: y_step_target = max(self.values) / y_length - y_range = [*y_range, round(y_step_target, int(np.ceil(-np.log10(y_step_target))))] + y_range = [ + *y_range, + round(y_step_target, int(np.ceil(-np.log10(y_step_target)))), + ] if x_length is None: x_length = min(len(self.values), config.frame_width - 2)