-
-
Notifications
You must be signed in to change notification settings - Fork 1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[FIX] Nomogram on PyQt4 #2763
[FIX] Nomogram on PyQt4 #2763
Conversation
I had to add () to make Nomograms work on Qt4: avail = QDesktopWidget().availableGeometry(self) |
Codecov Report
@@ Coverage Diff @@
## master #2763 +/- ##
==========================================
+ Coverage 76.06% 76.07% +<.01%
==========================================
Files 338 338
Lines 59699 59703 +4
==========================================
+ Hits 45413 45421 +8
+ Misses 14286 14282 -4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Naive Bayes and data set selection saving work for me.
It would be nice to have these in separate PR. Please also separate row height. Also, someone should test row height on retina (@astaric , could you?)
@@ -50,7 +51,7 @@ def show(self, pos, text, change_y=True): | |||
self.adjustSize() | |||
|
|||
x, y = pos.x(), (pos.y() + 15 if change_y else self.y()) | |||
avail = QApplication.focusWindow().screen().availableGeometry() | |||
avail = QDesktopWidget.availableGeometry(self) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
avail = QDesktopWidget().availableGeometry(self)
Neither. If you insist, feel free to adjust it as you will. |
Colud we have a test that (at least) runs this code on? |
[FIX] Nomogram on PyQt4
Issue
Description of changes
Fixed.
Includes