Skip to content
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] Move Louvain clustering from prototypes to core #3111

Merged
merged 14 commits into from
Aug 2, 2018
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
OWLouvain: Use tracking instead of mouse release event to properly up…
…date slider
  • Loading branch information
pavlin-policar committed Jul 17, 2018
commit 6c5231c2e85d34684dec216026d883f375b18fdf
6 changes: 3 additions & 3 deletions Orange/widgets/unsupervised/owlouvainclustering.py
Original file line number Diff line number Diff line change
@@ -140,9 +140,9 @@ def __init__(self):
) # type: QCheckBox
self.pca_components_slider = gui.hSlider(
pca_box, self, 'pca_components', label='Components: ', minValue=2,
maxValue=_MAX_PCA_COMPONENTS,
maxValue=_MAX_PCA_COMPONENTS, callback=self._update_pca_components,
tracking=False
) # type: QSlider
self.pca_components_slider.sliderReleased.connect(self._update_pca_components)

graph_box = gui.vBox(self.controlArea, 'Graph parameters')
self.metric_combo = gui.comboBox(
@@ -158,8 +158,8 @@ def __init__(self):
self.resolution_spin = gui.hSlider(
graph_box, self, 'resolution', minValue=0, maxValue=5., step=1e-1,
label='Resolution', intOnly=False, labelFormat='%.1f',
callback=self._update_resolution, tracking=False,
) # type: QSlider
self.resolution_spin.sliderReleased.connect(self._update_resolution)
self.resolution_spin.parent().setToolTip(
'The resolution parameter affects the number of clusters to find. '
'Smaller values tend to produce more clusters and larger values '