Skip to content

Commit

Permalink
OWtSNE: Sliders - show right label
Browse files Browse the repository at this point in the history
  • Loading branch information
VesnaT committed Dec 14, 2018
1 parent 04d2bc6 commit c265072
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions Orange/widgets/unsupervised/owtsne.py
Original file line number Diff line number Diff line change
Expand Up @@ -135,12 +135,15 @@ def _add_controls_start_box(self):
))
self._multiscale_changed()

form.addRow("Exaggeration:", gui.hSlider(
box, self, "exaggeration", createLabel=False, minValue=1, maxValue=4,
step=1))
form.addRow("PCA components:", gui.hSlider(
box, self, "pca_components", createLabel=False, minValue=2, maxValue=50,
step=1))
sbe = gui.hBox(self.controlArea, False, addToLayout=False)
gui.hSlider(
sbe, self, "exaggeration", minValue=1, maxValue=4, step=1)
form.addRow("Exaggeration:", sbe)

sbp = gui.hBox(self.controlArea, False, addToLayout=False)
gui.hSlider(
sbp, self, "pca_components", minValue=2, maxValue=50, step=1)
form.addRow("PCA components:", sbp)

box.layout().addLayout(form)

Expand Down

0 comments on commit c265072

Please sign in to comment.