Skip to content

Commit

Permalink
Minor fix if aspect='equal'
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 24, 2019
1 parent 21fa466 commit f611f0a
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions holoviews/plotting/bokeh/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit f611f0a

Please sign in to comment.