Skip to content

Commit

Permalink
Merge aec3b0e into 09bed5d
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Sep 1, 2020
2 parents 09bed5d + aec3b0e commit 02ecc28
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions holoviews/plotting/bokeh/element.py
Expand Up @@ -31,7 +31,7 @@
from ...core import DynamicMap, CompositeOverlay, Element, Dimension, Dataset
from ...core.options import abbreviated_exception, SkipRendering
from ...core import util
from ...element import Graph, VectorField, Path, Contours, Tiles
from ...element import Annotation, Graph, VectorField, Path, Contours, Tiles
from ...streams import Stream, Buffer, RangeXY, PlotSize
from ...util.transform import dim
from ..plot import GenericElementPlot, GenericOverlayPlot
Expand Down Expand Up @@ -350,7 +350,7 @@ def _get_axis_dims(self, element):

def _axes_props(self, plots, subplots, element, ranges):
# Get the bottom layer and range element
el = element.traverse(lambda x: x, [Element])
el = element.traverse(lambda x: x, [lambda el: isinstance(el, Element) and not isinstance(el, (Annotation, Tiles))])
el = el[0] if el else element

dims = self._get_axis_dims(el)
Expand Down

0 comments on commit 02ecc28

Please sign in to comment.