@@ -47,8 +47,8 @@ class FigureCanvasQT(QtWidgets.QWidget, FigureCanvasBase):
4747 def keyPressEvent (self , event ) -> None : ...
4848 def keyReleaseEvent (self , event ) -> None : ...
4949 def resizeEvent (self , event ) -> None : ...
50- def sizeHint (self ) -> QtCore .QSize : ... # type: ignore
51- def minumumSizeHint (self ) -> QtCore .QSize : ... # type: ignore
50+ def sizeHint (self ) -> QtCore .QSize : ... # type: ignore[name-defined]
51+ def minumumSizeHint (self ) -> QtCore .QSize : ... # type: ignore[name-defined]
5252 def flush_events (self ) -> None : ...
5353 def start_event_loop (self , timeout = ...) -> None : ...
5454 def stop_event_loop (self , event = ...) -> None : ...
@@ -58,7 +58,7 @@ class FigureCanvasQT(QtWidgets.QWidget, FigureCanvasBase):
5858 def drawRectangle (self , rect ) -> None : ...
5959
6060class MainWindow (QtWidgets .QMainWindow ):
61- closing : QtCore .Signal = ... # type: ignore
61+ closing : QtCore .Signal = ... # type: ignore[name-defined]
6262 def closeEvent (self , event ) -> None : ...
6363
6464class FigureManagerQT (FigureManagerBase ):
@@ -71,7 +71,7 @@ class FigureManagerQT(FigureManagerBase):
7171 def set_window_title (self , title ) -> None : ...
7272
7373class NavigationToolbar2QT (NavigationToolbar2 , QtWidgets .QToolBar ):
74- message : QtCore .Signal = ... # type: ignore
74+ message : QtCore .Signal = ... # type: ignore[name-defined]
7575 toolitems : list = ...
7676 def __init__ (self , canvas , parent = ..., coordinates = ...) -> None : ...
7777 def edit_parameters (self ) -> None : ...
0 commit comments