From d0b05ec6d336e68559a33b0cc962f4e55a69a3b3 Mon Sep 17 00:00:00 2001 From: Philipp Rudiger Date: Wed, 28 Mar 2018 03:58:44 +0100 Subject: [PATCH] Do not include colorcet colormaps in matplotlib list --- holoviews/plotting/util.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/holoviews/plotting/util.py b/holoviews/plotting/util.py index db78ed27ed..b7cbe35135 100644 --- a/holoviews/plotting/util.py +++ b/holoviews/plotting/util.py @@ -576,7 +576,7 @@ def list_cmaps(provider='all'): if 'matplotlib' in provider: try: import matplotlib.cm as cm - cmaps += list(cm.cmap_d) + cmaps += [cmap for cmap in cm.cmap_d if not cmap.startswith('cet_')] except: pass if 'bokeh' in provider: