##// END OF EJS Templates
More formatting
Emilio Graff -
Show More
@@ -104,7 +104,7 b' def get_options():'
104 return [loaded]
104 return [loaded]
105
105
106 mpl = sys.modules.get("matplotlib", None)
106 mpl = sys.modules.get("matplotlib", None)
107 print(f"{mpl=}") # will be None of matplotlib has not yet been imported
107 print(f"{mpl=}") # will be None of matplotlib has not yet been imported
108
108
109 if mpl is not None and tuple(mpl.__version__.split(".")) < ("1", "0", "2"):
109 if mpl is not None and tuple(mpl.__version__.split(".")) < ("1", "0", "2"):
110 # 1.0.1 only supports PyQt4 v1
110 # 1.0.1 only supports PyQt4 v1
@@ -394,6 +394,7 b' def load_qt(api_options):'
394 )
394 )
395 )
395 )
396
396
397
397 def enum_factory(QT_API, QtCore):
398 def enum_factory(QT_API, QtCore):
398 """Construct an enum helper to account for PyQt5 <-> PyQt6 changes."""
399 """Construct an enum helper to account for PyQt5 <-> PyQt6 changes."""
399
400
General Comments 0
You need to be logged in to leave comments. Login now