Skip to content

Commit

Permalink
Polynomial Regression: Fix report
Browse files Browse the repository at this point in the history
  • Loading branch information
janezd authored and PrimozGodec committed Aug 28, 2020
1 parent 59df13f commit 417533a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion orangecontrib/educational/widgets/owpolynomialregression.py
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,8 @@ def send_report(self):
if self.data is None:
return
caption = report.render_items_vert((
("Polynomial Expansion: ", self.polynomialexpansion),
("Polynomial Expansion", self.polynomialexpansion),
("Fit intercept", ["No", "Yes"][self.fit_intercept])
))
self.report_plot()
if caption:
Expand Down

0 comments on commit 417533a

Please sign in to comment.