Skip to content

Commit

Permalink
Improved mdims deprecation message
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Jan 16, 2017
1 parent 4cd9c6d commit ff84751
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions holoviews/core/data/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,10 @@ def __call__(self, new_type, kdims=None, vdims=None, groupby=None,
if groupby:
raise ValueError('Cannot supply both mdims and groupby')
else:
self._element.warning("mdims keyword has been renamed to "
"groupby and will be deprecated in "
"version 1.8.")
self._element.warning("mdims keyword has been renamed "
"to groupby; the name mdims is "
"deprecated and will be removed "
"after version 1.7.")
groupby = kwargs['mdims']

if kdims is None:
Expand Down

0 comments on commit ff84751

Please sign in to comment.