Skip to content

Commit

Permalink
Suppress pyright errors about QtCore members
Browse files Browse the repository at this point in the history
  • Loading branch information
debonte committed Jan 22, 2025
1 parent 16fa259 commit b490a2d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions stubs/matplotlib/backends/backend_qt.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ class FigureCanvasQT(QtWidgets.QWidget, FigureCanvasBase):
def keyPressEvent(self, event) -> None: ...
def keyReleaseEvent(self, event) -> None: ...
def resizeEvent(self, event) -> None: ...
def sizeHint(self) -> QtCore.QSize: ...
def minumumSizeHint(self) -> QtCore.QSize: ...
def sizeHint(self) -> QtCore.QSize: ... # type: ignore
def minumumSizeHint(self) -> QtCore.QSize: ... # type: ignore
def flush_events(self) -> None: ...
def start_event_loop(self, timeout=...) -> None: ...
def stop_event_loop(self, event=...) -> None: ...
Expand All @@ -58,7 +58,7 @@ class FigureCanvasQT(QtWidgets.QWidget, FigureCanvasBase):
def drawRectangle(self, rect) -> None: ...

class MainWindow(QtWidgets.QMainWindow):
closing: QtCore.Signal = ...
closing: QtCore.Signal = ... # type: ignore
def closeEvent(self, event) -> None: ...

class FigureManagerQT(FigureManagerBase):
Expand All @@ -71,7 +71,7 @@ class FigureManagerQT(FigureManagerBase):
def set_window_title(self, title) -> None: ...

class NavigationToolbar2QT(NavigationToolbar2, QtWidgets.QToolBar):
message: QtCore.Signal = ...
message: QtCore.Signal = ... # type: ignore
toolitems: list = ...
def __init__(self, canvas, parent=..., coordinates=...) -> None: ...
def edit_parameters(self) -> None: ...
Expand Down

0 comments on commit b490a2d

Please sign in to comment.