From f611f0aa70d94ca24f1e07f93b7575d99553c7ad Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Sun, 24 Mar 2019 02:18:23 +0000 Subject: [PATCH] Minor fix if aspect='equal' --- holoviews/plotting/bokeh/util.py | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/holoviews/plotting/bokeh/util.py b/holoviews/plotting/bokeh/util.py index 19d3f3ba60..024e981b8f 100644 --- a/holoviews/plotting/bokeh/util.py +++ b/holoviews/plotting/bokeh/util.py @@ -301,8 +301,11 @@ def compute_layout_properties( height = None if fixed_height or not fixed_width: width = None - aspect_scale = 1 if aspect == 'equal' else data_aspect - if responsive: + + aspect_scale = data_aspect + if aspect == 'equal': + aspect_scale = 1 + elif responsive: aspect_ratio = aspect elif isnumeric(aspect): if responsive: