Skip to content

Commit

Permalink
removing unused imports
Browse files Browse the repository at this point in the history
  • Loading branch information
lachlangrose committed Oct 13, 2024
1 parent 5cb7d77 commit 073a292
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions loopstructuralvisualisation/trame/ui/vuetify3.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,21 +8,13 @@

from __future__ import annotations

from turtle import onclick
from typing import TYPE_CHECKING

from cycler import V
from trame.ui.vuetify3 import VAppLayout, SinglePageWithDrawerLayout
from trame.widgets import html
from trame.ui.vuetify3 import SinglePageWithDrawerLayout
from trame.widgets import vuetify3 as vuetify
from trame.widgets import trame
from pyvista.trame.views import PyVistaLocalView
from pyvista.trame.views import PyVistaRemoteLocalView
from pyvista.trame.views import PyVistaRemoteView

import pyvista
from pyvista.trame.ui.base_viewer import BaseViewer
from pyvista.trame.ui.vuetify3 import Viewer
from trame.widgets.vuetify3 import VTreeview


if TYPE_CHECKING: # pragma: no cover
Expand All @@ -36,7 +28,7 @@ def __init__(self, *args, **kwargs):
"""
super().__init__(*args, **kwargs)

def make_layout(self, *args, **kwargs):
def make_layout(self, *args, **kwargs) -> AbstractLayout:

return SinglePageWithDrawerLayout(*args, **kwargs)

Expand Down Expand Up @@ -76,7 +68,7 @@ def object_menu(self):
with vuetify.VCard():

for k, a in self.plotter.actors.items():
if type(a) != pyvista.plotting.actor.Actor:
if type(a) is not pyvista.plotting.actor.Actor:
continue
drawer.server.state[f"{k}__visibility"] = True
drawer.server.state[f"{k}__control_visibility"] = False
Expand Down

0 comments on commit 073a292

Please sign in to comment.