Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[project]
dynamic = ['version']
name = "pyvista-tutorial"
requires-python = '>=3.9'
requires-python = '>=3.10'

[project.optional-dependencies]
all = ['docs']
Expand Down
5 changes: 4 additions & 1 deletion tutorial/03_figures/a_lesson_figures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down