diff --git a/pyproject.toml b/pyproject.toml index aef92db40..c9fe20015 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] dynamic = ['version'] name = "pyvista-tutorial" -requires-python = '>=3.9' +requires-python = '>=3.10' [project.optional-dependencies] all = ['docs'] diff --git a/tutorial/03_figures/a_lesson_figures.py b/tutorial/03_figures/a_lesson_figures.py index 90d1dde3d..e0831ac4d 100644 --- a/tutorial/03_figures/a_lesson_figures.py +++ b/tutorial/03_figures/a_lesson_figures.py @@ -61,7 +61,10 @@ (-1, 2, 0), ] -solids = [pv.PlatonicSolid(kind, radius=0.4, center=center) for kind, center in zip(kinds, centers)] +solids = [ + pv.PlatonicSolid(kind, radius=0.4, center=center) + for kind, center in zip(kinds, centers, strict=True) +] pl = pv.Plotter(window_size=[1000, 1000]) for _ind, solid in enumerate(solids):