diff --git a/snippets/qt_screen_info.py b/snippets/qt_screen_info.py index 9862a9b8..e0118444 100644 --- a/snippets/qt_screen_info.py +++ b/snippets/qt_screen_info.py @@ -32,7 +32,6 @@ Resource list for mucking with DPIs on multiple screens: ''' -from pyqtgraph import QtGui from PyQt6 import ( QtCore, QtWidgets, @@ -43,6 +42,7 @@ from PyQt6.QtCore import ( QSize, QRect, ) +from pyqtgraph import QtGui # Proper high DPI scaling is available in Qt >= 5.6.0. This attibute # must be set before creating the application