diff --git a/holoviews/plotting/bokeh/element.py b/holoviews/plotting/bokeh/element.py index b251f742f8..eac6fd58f0 100644 --- a/holoviews/plotting/bokeh/element.py +++ b/holoviews/plotting/bokeh/element.py @@ -848,8 +848,11 @@ def _update_ranges(self, element, ranges): frame_aspect = 1 elif self.aspect and self.aspect != 'equal': frame_aspect = self.aspect - else: + elif plot.frame_height and plot.frame_width: frame_aspect = plot.frame_height/plot.frame_width + else: + # Skip if aspect can't be determined + return if self.drawn: current_l, current_r = plot.x_range.start, plot.x_range.end