-
-
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
[ENH] OWFeatureStatistics: data info displayed in the status bar #4409
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4409 +/- ##
==========================================
+ Coverage 87.43% 87.45% +0.01%
==========================================
Files 405 405
Lines 74073 74081 +8
==========================================
+ Hits 64769 64784 +15
+ Misses 9304 9297 -7 |
@@ -792,11 +786,14 @@ def set_data(self, data): | |||
self.data = data | |||
|
|||
if data is not None: | |||
self.info.set_input_summary(self.info.format_number(len(data)), |
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.
Consider removing format_number
call:
biolab/orange-widget-base#41
self.Outputs.reduced_data.send(None) | ||
self.Outputs.statistics.send(None) | ||
return | ||
|
||
# Send a table with only selected columns to output | ||
variables = self.model.variables[self.selected_rows] | ||
self.info.set_output_summary( | ||
self.info.format_number(len(self.data[:, variables])), \ |
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.
The backslash in unnecessary.
@@ -463,6 +467,39 @@ def test_restores_previous_selection(self): | |||
self.send_signal(self.widget.Inputs.data, self.data1) | |||
self.assertEqual(len(self.widget.selected_rows), 2) | |||
|
|||
class TestSummary(WidgetTest): |
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.
The test case is indented and therefore never executed.
ec54594
to
87327c2
Compare
87327c2
to
da254c7
Compare
Issue
The drop-down list for choosing color of histograms was very narrow so feature names were not seen properly.
Description of changes
Display input and output data info in the status bar.
Made Color drop-down list wider.
Includes