Skip to content
Merged
Changes from 1 commit
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
Prev Previous commit
Next Next commit
Mypy fix
  • Loading branch information
adam-urbanczyk committed Jun 13, 2025
commit f7bf1bf070ce421b11b5ff145b8eb7df3d0f954d
4 changes: 3 additions & 1 deletion cadquery/fig.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
from itertools import chain
from webbrowser import open_new_tab

from typish import instance_of

from trame.app import get_server
from trame.app.core import Server
from trame.widgets import html, vtk as vtk_widgets, client
Expand Down Expand Up @@ -231,7 +233,7 @@ async def _clear():
self.empty = True

for s in shapes:
if isinstance(s, ShapeLike):
if instance_of(s, ShapeLike):
for a in self.shapes[s]:
self.ren.RemoveActor(a)

Expand Down