-
-
Notifications
You must be signed in to change notification settings - Fork 366
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
InteractiveImage does not work? #208
Comments
I am experiencing the same problems in all examples using InteractiveImage
E.g. trying to wheel-zoom into the bokeh plot under the "Embedding" heading, I get this error in the Firefox console:
In Chromium the Console shows:
|
|
It turned out that I made a common mistake by being left behind. The tseries notebook on anaconda cloud is outdated. I cloned the master branch and everything there I tried works well for me. The key change that made me all the trouble in this post is the "relocation" of InteractiveImage. It is |
I'm getting this same error with But I am using the correct "from datashader.bokeh_ext import InteractiveImage" If the issue is a changing of the bokeh API in version 0.12, then is this a bug? Is the solution to clone and install the development version of datashader? |
The current version of datashader is 0.4.0, available from the bokeh channel: |
Confirmed, updating to the version in the bokeh channel fixes the issue. Thanks! This is a great tool! |
Thanks to the developers for this awesome package, which is exactly what I need. However, it does not work as I thought, and any help is appreciated.
I downloaded the "tseries" notebook, and had it run locally. When I zoomed in the bokeh plot, I think it is expected to reveal more fine-grained data points, i.e., adaptive sampling, but what I got is the same plot with magnified pixels (see below). Is the function InteractiveImage() not working?
python:2.7
bokeh: 0.12.1
datashader: 0.3.2
UPDATE: so I looked at the browser console, and when I zoom in, the following error pops up:
VM309:18 Uncaught TypeError: Cannot read property 'get' of undefined
And that line in the JS is
var ranges = {xmin: x_range.attributes.start,
ymin: y_range.attributes.start,
xmax: x_range.attributes.end,
ymax: y_range.attributes.end,
w: Math.floor(plot.frame.get('width')),
h: Math.floor(plot.frame.get('height'))}
The text was updated successfully, but these errors were encountered: