Skip to content

Commit

Permalink
Fix BokehRenderer width/height plot opt handling (#3717)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed May 16, 2019
1 parent 5612e7e commit 475aa96
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions holoviews/plotting/bokeh/renderer.py
Expand Up @@ -339,10 +339,10 @@ def plot_options(cls, obj, percent_size):
width = options.get('width', plot.width)
height = options.get('height', plot.height)
if width is not None:
width = int(width)
options['width'] = int(width)
if height is not None:
height = int(height)
return dict(options, **{'width': width, 'height': height})
options['height'] = int(height)
return dict(options)


@bothmethod
Expand Down

0 comments on commit 475aa96

Please sign in to comment.