Skip to content

Commit 5929f98

Browse files
authored
MNT: remove unneeded line of code
1 parent ecc7f36 commit 5929f98

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

lib/matplotlib/backends/backend_qt.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,6 @@ def mouseEventCoords(self, pos=None):
268268
return x * self.device_pixel_ratio, y * self.device_pixel_ratio
269269

270270
def enterEvent(self, event):
271-
qt_mods = QtWidgets.QApplication.instance().queryKeyboardModifiers()
272271
LocationEvent("figure_enter_event", self,
273272
*self.mouseEventCoords(event),
274273
modifiers=self._mpl_modifiers(),

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy