Skip to content

Commit

Permalink
reverting a small change
Browse files Browse the repository at this point in the history
  • Loading branch information
perrin-isir committed Jan 7, 2025
1 parent c0fe4ee commit d67c8df
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion yomix/VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.5.0
1.5.1
4 changes: 1 addition & 3 deletions yomix/tools/subsets.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@ def subset_buttons(points_bokeh_plot, source_rotmatrix_etc, bt_slider_range):
bt_AplusB = bokeh.models.Button(label="Select A+B", width=button_width)
bt_AplusB.js_on_click(
bokeh.models.CustomJS(
args=dict(source=source, btsr=bt_slider_range),
args=dict(source=source),
code="""
const data = source.data;
var t = [];
Expand All @@ -228,8 +228,6 @@ def subset_buttons(points_bokeh_plot, source_rotmatrix_etc, bt_slider_range):
}
source.selected.indices = t;
source.change.emit();
btsr.value = [btsr.start, btsr.end];
btsr.change.emit();
""",
)
)
Expand Down

0 comments on commit d67c8df

Please sign in to comment.