Skip to content

Commit

Permalink
Add Plotly Dash support (#4605)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonmmease committed Nov 7, 2020
1 parent a795949 commit 87622b5
Show file tree
Hide file tree
Showing 7 changed files with 1,064 additions and 5 deletions.
4 changes: 2 additions & 2 deletions holoviews/core/decollate.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
from .. import (
Layout, DynamicMap, Element, Callable, Overlay, GridSpace, NdOverlay, HoloMap
)
from . import ViewableTree
from . import ViewableTree, AdjointLayout
from collections import namedtuple
from ..streams import Stream, Derived

Expand Down Expand Up @@ -148,7 +148,7 @@ def to_expr_extract_streams(
stream_mapping.setdefault(container_key, []).append(cloned_stream)
return stream_index

elif isinstance(hvobj, (Layout, GridSpace, NdOverlay, HoloMap, Overlay)):
elif isinstance(hvobj, (Layout, GridSpace, NdOverlay, HoloMap, Overlay, AdjointLayout)):
fn = hvobj.clone(data={}).clone
args = []
data_expr = []
Expand Down
1 change: 1 addition & 0 deletions holoviews/plotting/plotly/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@
Overlay: OverlayPlot,
NdOverlay: OverlayPlot,
Layout: LayoutPlot,
AdjointLayout: AdjointLayoutPlot,
NdLayout: LayoutPlot,
GridSpace: GridPlot,
GridMatrix: GridPlot}, backend='plotly')
Expand Down
Loading

0 comments on commit 87622b5

Please sign in to comment.