Bokeh-TimeSeries-Datashader example need

I am looking certain type of info, and I find similar things, but not what I find precisely. And without a complete example I really don’t find how to do it:

I have got a few time series plots. Well, too many data inside them. Here I need to make an app in order to create datashader with zoom updates.

Ok,bokeh server is the easy part. Inside bokeh world I feel secure :slight_smile: . But I have read that in order to connect this server with datashader, holoviz is needed. We’ve got NY Taxi examples and another ones I have found in several places,but no one is a timeseries (with holoview) one. I am really confused when I try to implement it. Hard understanding without an example of that kind (-because the need of using three different libraries-). In addittion, my bokeh example is quite elaborated, I really would like not to change too many bokeh code.

Any tip or key help web?

Does https://datashader.org/user_guide/Timeseries.html help? Several of the examples there use HoloViews and Bokeh.

I have run this file. But resolution is always the same. I wanted something like nyc taxi example,which the more zoom you click, the greater resolution is drawed.

I wanted something like nyc taxi example,which the more zoom you click, the greater resolution is drawed.

That should be the case. Are there any errors in the JS console maybe?

I don’t get an error. Zoom is just the same that without zoom, is not redraw. Hoy can I give you a debug log?

Can you open the browser’s JavaScript console? (Under Developer Tools/More Tools on Chrome, and similar on other browsers.) It should show you any errors it finds. It’s odd if the taxi notebook works and the timeseries notebook doesn’t; they both use the same mechanisms for updating plots. Make sure you’re not just looking at the HTML page, which has no Python server running, but at a running Python/Jupyter notebook.

Error: Invalid response: 404 Not Found serverconnection.js:89
Error: Invalid response: 404 Not Found serverconnection.js:89
Error en el mapeo fuente: Error: request failed with status 404
URL del recurso: localhost:8888/static/lab/vendors~main.579543634f972e1a15ce.js
URL del mapa fuente: bokeh-gl.min.js.map
Error: Invalid response: 404 Not Found serverconnection.js:89
Error: Invalid response: 404 Not Found serverconnection.js:89
Error: Invalid response: 404 Not Found serverconnection.js:89
Error: Invalid response: 404 Not Found serverconnection.js:89
Error: Invalid response: 404 Not Found serverconnection.js:89
Error: Invalid response: 404 Not Found serverconnection.js:89

I think 404 error is tensorboard which is not working right now. But I guess this warning is about the plot:
Error en el mapeo fuente: Error: request failed with status 404
URL del recurso: http//localhost:8888/static/lab/vendors~main.579543634f972e1a15ce.js
URL del mapa fuente: bokeh-gl.min.js.map

I have uploaded resource vendors~main.579543634f972e1a15ce.js :
https://smilics-my.sharepoint.com/:u:/g/personal/vmasip_wibeee_com/EQ_uZ82gy-9FgSJsMxZaIBIBhkSFdxxH_6Owm9KkgjF8Ng?e=D37gUS

I don’t know how to scrap more firefox debug console. If I see console when jupyter starts, I get his messages which I think they are related to bokeh:
GET http //localhost:8888/static/components/MathJax/MathJax.js?config=TeX-AMS-MML_HTMLorMML-full,Safe&delayStartupUntil=configured[HTTP/1.1 200 OK 9225ms]

Bokeh: BokehJS plotting callback run at

Date Thu Feb 27 2020 12:48:16 GMT+0100 (hora estándar de Europa central)

[vendors~main.579543634f972e1a15ce.js line 305495 > eval:1223:15](http//localhost:8888/static/lab/vendors~main.579543634f972e1a15ce.js line 305495 > eval)

[bokeh] setting log level to: ‘info’ [vendors~main.579543634f972e1a15ce.js line 305495 > eval:568:2263](http//localhost:8888/static/lab/vendors~main.579543634f972e1a15ce.js line 305495 > eval)

Bokeh: all callbacks have finished [vendors~main.579543634f972e1a15ce.js line 305495 > eval:183:13](http//localhost:8888/static/lab/vendors~main.579543634f972e1a15ce.js line 305495 > eval)

GEThttps//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css

[bokeh] document idle at 81 ms [vendors~main.579543634f972e1a15ce.js line 305495 > eval:493:1551](http//localhost:8888/static/lab/vendors~main.579543634f972e1a15ce.js line 305495 > eval)

When I am zooming no new error appear. I think is not an error reaction to zoom. I guess zoom(bokeh plot) is no making certain callbacks?

More images in next replies:

All images are errors which only appear when I open jupyter in browser.

And these errors occur when running the Timeseries.ipynb linked above? The autoload.js errors are very weird in that context because none of the examples in that notebook would make requests to autoload.js in that way.

Yes.But there was open other notebook opened previously in secondary tabs. Should I close them? My workmate has a more recent version of jupyter lab, and for him, dynamic plot doesn’t redraw neither.

He has got other bunch of errors and warnings:

Synchronous XMLHttpRequest on the main thread is deprecated because of its detrimental effects to the end user’s experience. For more help http_//xhr.spec.whatwg.org/ modulated.js:10837:21

The resource from “https_//localhost:8888/src/css/common.css” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff).

[lab] (https_//localhost:8888/lab?)

SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data

This site appears to use a scroll-linked positioning effect. This may not work well with asynchronous panning; see https_//developer.mozilla.org/docs/Mozilla/Performance/ScrollLinkedEffects for further details and to join the discussion on related tools and features! [lab] (https_//localhost:8888/lab?)

Scroll anchoring was disabled in a scroll container because of too many consecutive adjustments (16) with too little total distance (0 px average, 0 px total). [lab] (https_//localhost:8888/lab?)

Scroll anchoring was disabled in a scroll container because of too many consecutive adjustments (38) with too little total distance (2.68421052631579 px average, 102 px total). scrollpastend.js:36:19

Scroll anchoring was disabled in a scroll container because of too many consecutive adjustments (22) with too little total distance (0 px average, 0 px total). codemirror.js:4204:19

Scroll anchoring was disabled in a scroll container because of too many consecutive adjustments (26) with too little total distance (1.30769230769231 px average, 34 px total). scrollpastend.js:36:19

Scroll anchoring was disabled in a scroll container because of too many consecutive adjustments (12) with too little total distance (2.83333333333333 px average, 34 px total). scrollpastend.js:36:19

Use of mozImageSmoothingEnabled is deprecated. Please use the unprefixed imageSmoothingEnabled property instead. [vendors~main.5e71da0c9400073bcdf0.js line 188 > eval:280:94999](https_//localhost:8888/static/lab/vendors~main.5e71da0c9400073bcdf0.js line 188 > eval)

Error en el mapeo fuente: Error: request failed with status 404 URL del recurso: https_//localhost:8888/static/lab/vendors~main.5e71da0c9400073bcdf0.js URL del mapa fuente: bokeh-gl.min.js.map