Skip to content

Commit

Permalink
Ensure BoundsXY stream callback is registered (#1826)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored and jlstevens committed Aug 31, 2017
1 parent 8419213 commit d5270c3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions holoviews/plotting/bokeh/callbacks.py
Expand Up @@ -3,10 +3,10 @@

from ...core import OrderedDict
from ...streams import (Stream, PointerXY, RangeXY, Selection1D, RangeX,
RangeY, PointerX, PointerY, Bounds, BoundsX, BoundsY,
RangeY, PointerX, PointerY, BoundsX, BoundsY,
Tap, SingleTap, DoubleTap, MouseEnter, MouseLeave,
PlotSize, Draw)
from ...streams import PositionX, PositionY, PositionXY # Deprecated: remove in 2.0
PlotSize, Draw, BoundsXY)
from ...streams import PositionX, PositionY, PositionXY, Bounds # Deprecated: remove in 2.0
from ..comms import JupyterCommJS
from .util import bokeh_version

Expand Down Expand Up @@ -765,6 +765,7 @@ def _process_msg(self, msg):
callbacks[RangeX] = RangeXCallback
callbacks[RangeY] = RangeYCallback
callbacks[Bounds] = BoundsCallback
callbacks[BoundsXY] = BoundsCallback
callbacks[BoundsX] = BoundsXCallback
callbacks[BoundsY] = BoundsYCallback
callbacks[Selection1D] = Selection1DCallback
Expand Down

0 comments on commit d5270c3

Please sign in to comment.