question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bounds example doesn't work with BoundsXY

See original GitHub issue

Trying to use the bounds example for reference and holoviews is telling me I should use BoundsXY because Bounds is deprecated. But when I do that replacement in the demo code, it doesn’t work. No error as far as I can tell, but it doesn’t work.

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
philippjfrcommented, Aug 4, 2017

Looks like the BoundsXY callback was never registered:

https://github.com/ioam/holoviews/blob/master/holoviews/plotting/bokeh/callbacks.py#L767

A straightforward workaround until we fix this is to register the callback yourself:

from holoviews.plotting.bokeh.callbacks import BoundsCallback
hv.streams.Stream._callbacks['bokeh'][hv.streams.BoundsXY]      = BoundsCallback
0reactions
philippjfrcommented, Aug 31, 2017

Added the stream in the PR above. Closing.

Read more comments on GitHub >

github_iconTop Results From Across the Web

'bounds' doesn't work in scipy.stats.minimize function
I had a very strange problem in the minimize function. I wrote following code and hoped to output result from (0,1). ... However,...
Read more >
Restricting Map Bounds | Maps JavaScript API
This example creates a map that starts in Auckland, New Zealand. The map is restricted to New Zealand. The user can pan away...
Read more >
Fit bounds after opening infoWindow - Google Groups
So, I'm adding markers to the map and after adding them I open the infoWindow attached to the first marker added with a...
Read more >
Google Maps fitBounds doesn't take more than 10 positions if ...
Google Maps fitBounds doesn't take more than 10 positions if the width and height of the map are set. Raw. google_maps_fitBounds_issue.html ...
Read more >
Issue with Google Maps-API: fit_bounds does not work
I've created a demo app that creates a LatLngBounds object with your coordinates and then fits the map to those bounds using the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found