Skip to content

Commit

Permalink
Use of deprecated __call__ method will always warn
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed Feb 15, 2019
1 parent fe4c8bb commit f241b27
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions holoviews/core/dimension.py
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,8 @@ def spec(self):


def __call__(self, spec=None, **overrides):
if util.config.future_deprecations:
self.param.warning('Dimension.__call__ method has been deprecated, '
'use the clone method instead.')
self.param.warning('Dimension.__call__ method has been deprecated, '
'use the clone method instead.')
return self.clone(spec=spec, **overrides)


Expand Down

0 comments on commit f241b27

Please sign in to comment.