Skip to content

Commit

Permalink
OWNomogram: Add reset settings
Browse files Browse the repository at this point in the history
  • Loading branch information
janezd committed May 10, 2019
1 parent 68db2aa commit 8c91b03
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Orange/widgets/visualize/ownomogram.py
Original file line number Diff line number Diff line change
Expand Up @@ -1191,6 +1191,10 @@ def get_points_from_coeffs(current_value, coefficients, possible_values):
return sorted_coefficients[i - 1] * sorted_values[i - 1] * k + \
sorted_coefficients[i] * sorted_values[i] * (1 - k)

def reset_settings(self):
self._reset_settings()
self.update_scene()


if __name__ == "__main__": # pragma: no cover
from Orange.classification import NaiveBayesLearner #, LogisticRegressionLearner
Expand Down

0 comments on commit 8c91b03

Please sign in to comment.