I want to update an image using a slider in this page I can update 3d figure but i cannot update imageusing souce data using this line
plot.image(image='z', source=source_2, x=0, y=0, dw=max(xx), dh=max(yy), palette="Spectral11", level="image")
I have got error in js console
Uncaught (in promise) TypeError: n is not iterable
a https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:174
_set_data https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:467
set_data https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:352
set_data https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:348
lazy_initialize https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:348
c https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:278
build_views https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:278
build_renderer_views https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:519
lazy_initialize https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:519
c https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:278
build_views https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:278
build_child_views https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:496
lazy_initialize https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:496
c https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:278
build_view https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:278
f https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:584
add_document_standalone https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:584
w https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:163
embed_items https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:163
embed_document http://127.0.0.1:8000/index/sinus3d:163
fn http://127.0.0.1:8000/index/sinus3d:167
fn http://127.0.0.1:8000/index/sinus3d:183
safely https://cdn.bokeh.org/bokeh/release/bokeh-2.4.2.min.js:595
fn http://127.0.0.1:8000/index/sinus3d:157
EventListener.handleEvent* http://127.0.0.1:8000/index/sinus3d:187
My code is here
I have read this post but I cannot apply answer without this error