From 149739eaf4eeebcdd572462e29ee6a247c697b64 Mon Sep 17 00:00:00 2001 From: Grant Sanderson Date: Wed, 28 Aug 2024 10:52:28 -0500 Subject: [PATCH] Change shader_dtype -> data_dtype --- _2021/holomorphic_dynamics.py | 2 +- _2021/newton_fractal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_2021/holomorphic_dynamics.py b/_2021/holomorphic_dynamics.py index 7cf3b44..c36ed24 100644 --- a/_2021/holomorphic_dynamics.py +++ b/_2021/holomorphic_dynamics.py @@ -66,7 +66,7 @@ def get_iteration_label(font_size=36): class MandelbrotFractal(NewtonFractal): CONFIG = { "shader_folder": "mandelbrot_fractal", - "shader_dtype": [ + "data_dtype": [ ('point', np.float32, (3,)), ], "scale_factor": 1.0, diff --git a/_2021/newton_fractal.py b/_2021/newton_fractal.py index c96f270..41e676a 100644 --- a/_2021/newton_fractal.py +++ b/_2021/newton_fractal.py @@ -72,7 +72,7 @@ def get_figure(image_name, person_name, year_text, height=3, label_direction=DOW class NewtonFractal(Mobject): CONFIG = { "shader_folder": "newton_fractal", - "shader_dtype": [ + "data_dtype": [ ('point', np.float32, (3,)), ], "colors": ROOT_COLORS_DEEP,