From 74fcf8ec2507fe3ad6161c130ee282f9aad1b96c Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Tue, 16 Dec 2025 18:22:05 -0500 Subject: [PATCH] Reorder imports in `qt_screen_info.py` ?? For wtv reason on nixos importing `pyqtgraph` first is causing `numpy` to fail import?? No idea, but likely something to do with recent `flake.nix`'s ld-lib-linking with `` marlarky? --- snippets/qt_screen_info.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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