Skip to content

Commit

Permalink
BUG: Fix PySide6 compatibility (#586)
Browse files Browse the repository at this point in the history
  • Loading branch information
larsoner authored Jun 19, 2024
1 parent 516d95c commit 34a85f9
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .github/release.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
changelog:
exclude:
authors:
- dependabot
- pre-commit-ci
9 changes: 1 addition & 8 deletions pyvistaqt/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@

import numpy as np # type: ignore
import pyvista
import scooby # type: ignore
from pyvista import global_theme

try:
Expand All @@ -63,7 +62,7 @@
from pyvista.core.utilities import conditional_decorator, threaded
except ImportError: # PV < 0.40
from pyvista.utilities import conditional_decorator, threaded
from qtpy import QtCore
from qtpy import QtCore, QtGui
from qtpy.QtCore import QSize, QTimer, Signal
from qtpy.QtWidgets import (
QAction,
Expand Down Expand Up @@ -91,12 +90,6 @@
)
from .window import MainWindow

if scooby.in_ipython(): # pragma: no cover
# pylint: disable=unused-import
from IPython.external.qt_for_kernel import QtGui
else:
from qtpy import QtGui # pylint: disable=ungrouped-imports

LOG = logging.getLogger("pyvistaqt")
LOG.setLevel(logging.CRITICAL)
LOG.addHandler(logging.StreamHandler())
Expand Down

0 comments on commit 34a85f9

Please sign in to comment.