Skip to content

Commit

Permalink
Updated clash warning when both cnorm and normalization supplied
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed Dec 1, 2020
1 parent d07f151 commit 563a072
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions holoviews/operation/datashader.py
Expand Up @@ -1266,8 +1266,9 @@ def _process(self, element, key=None):
overrides = dict(self.p.items())
if 'normalization' in overrides:
if 'cnorm' in overrides:
self.param.warning("Cannot supply both 'normalization' and 'cnorm' for shading; "
"use 'cnorm' instead'")
self.param.warning("Both the 'cnorm' and 'normalization' keywords"
"specified; 'cnorm' value taking precedence over "
"deprecated 'normalization' option")
elif config.future_deprecations:
self.param.warning("Shading 'normalization' parameter deprecated, "
"use 'cnorm' parameter instead'")
Expand Down

0 comments on commit 563a072

Please sign in to comment.