From 54b2fb780dd5bafe4565c70036db3b557a17d43d Mon Sep 17 00:00:00 2001 From: Pat Gunn Date: Mon, 1 Jul 2024 10:45:43 -0400 Subject: [PATCH] Fix naming of Slider() --- caiman/utils/visualization.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/caiman/utils/visualization.py b/caiman/utils/visualization.py index f0e3928e4..a82833507 100644 --- a/caiman/utils/visualization.py +++ b/caiman/utils/visualization.py @@ -1424,8 +1424,8 @@ def nb_view_quilt(template_image: np.ndarray, plot.rect(x='center_x', y='center_y', width='width', height='height', source=source, color=color, alpha=alpha) # Create sliders - stride_slider = Slider(start=1, end=100, value=rf, step=1, title="Patch half-size (rf)") - overlap_slider = Slider(start=0, end=100, value=stride_input, step=1, title="Overlap (stride)") + stride_slider = bokeh.models.Slider(start=1, end=100, value=rf, step=1, title="Patch half-size (rf)") + overlap_slider = bokeh.models.Slider(start=0, end=100, value=stride_input, step=1, title="Overlap (stride)") callback = CustomJS(args=dict(source=source, im_dims=im_dims, stride_slider=stride_slider, overlap_slider=overlap_slider), code=""" function get_rectangle_coords(im_dims, stride, overlap) {