Skip to content

Commit

Permalink
Merge pull request #1291 from ioam/restore_logo_option
Browse files Browse the repository at this point in the history
Restored logo parameter and removed banner text
  • Loading branch information
philippjfr committed Apr 14, 2017
2 parents d1481c3 + af9b72b commit d460fa0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions holoviews/ipython/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,8 +117,7 @@ class notebook_extension(param.ParameterizedFunction):

css = param.String(default='', doc="Optional CSS rule set to apply to the notebook.")

banner = param.Boolean(default=True, doc="""
Toggles display of HoloViews logo and loading message.""")
logo = param.Boolean(default=True, doc="Toggles display of HoloViews logo")

inline = param.Boolean(default=True, doc="""Whether to inline JS and CSS resources,
if disabled resources are loaded from CDN if one is available.""")
Expand Down Expand Up @@ -229,8 +228,7 @@ def __call__(self, *args, **params):
loaded = ', '.join(js_names[r] if r in js_names else r.capitalize()+'JS'
for r in resources)

message = '' if not p.banner else '%s successfully loaded in this cell.' % loaded
load_hvjs(logo=p.banner, JS=('holoviews' in resources), message = message)
load_hvjs(logo=p.logo, JS=('holoviews' in resources), message='')



Expand Down

0 comments on commit d460fa0

Please sign in to comment.