Skip to content

Commit

Permalink
Fixed handling of bokeh resources option
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Mar 30, 2020
1 parent adbae0e commit ce26561
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions holoviews/plotting/renderer.py
Expand Up @@ -317,9 +317,9 @@ def html(self, obj, fmt=None, css=None, resources='CDN', **kwargs):
from bokeh.resources import CDN, INLINE
doc = Document()
plot._render_model(doc)
if resources == 'cdn':
if resources.lower() == 'cdn':
resources = CDN
elif resources == 'inline':
elif resources.lower() == 'inline':
resources = INLINE
return file_html(doc, resources)
elif fmt in ['html', 'json']:
Expand Down

0 comments on commit ce26561

Please sign in to comment.