From af9b72b0a26ff5ece1055bb4f4d666e14d645b16 Mon Sep 17 00:00:00 2001 From: jlstevens Date: Fri, 14 Apr 2017 01:41:31 +0100 Subject: [PATCH] Restored notebook_extension logo parameter and removed banner text --- holoviews/ipython/__init__.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/holoviews/ipython/__init__.py b/holoviews/ipython/__init__.py index 154a76c816..7a44e3833c 100644 --- a/holoviews/ipython/__init__.py +++ b/holoviews/ipython/__init__.py @@ -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.""") @@ -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='')