Skip to content

Commit

Permalink
Merge pull request #889 from ioam/connect_streams
Browse files Browse the repository at this point in the history
Connect streams with bokeh callbacks
  • Loading branch information
jlstevens authored Sep 30, 2016
2 parents 0740e70 + e2db0bf commit 9d80880
Show file tree
Hide file tree
Showing 11 changed files with 376 additions and 500 deletions.
2 changes: 1 addition & 1 deletion holoviews/core/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -954,7 +954,7 @@ def get_dynamic_item(map_obj, dimensions, key):
and a corresponding key. The dimensions must be a subset
of the map_obj key dimensions.
"""
if key == () and not dimensions:
if key == () and not dimensions or not map_obj.kdims:
return key, map_obj[()]
elif isinstance(key, tuple):
dims = {d.name: k for d, k in zip(dimensions, key)
Expand Down
2 changes: 1 addition & 1 deletion holoviews/plotting/bokeh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
from ..plot import PlotSelector

from .annotation import TextPlot, LineAnnotationPlot, SplinePlot
from .callbacks import Callbacks # noqa (API import)
from .callbacks import Callback # noqa (API import)
from .element import OverlayPlot, BokehMPLWrapper
from .chart import (PointPlot, CurvePlot, SpreadPlot, ErrorPlot, HistogramPlot,
SideHistogramPlot, BoxPlot, BarPlot, SpikesPlot,
Expand Down
Loading

0 comments on commit 9d80880

Please sign in to comment.