Always warn for deprecated call
@@ -1230,18 +1230,16 @@ class Dimensioned(LabelledData):
return unicode(PrettyPrinter.pprint(self))
def __call__(self, options=None, **kwargs):
- if util.config.warn_options_call:
self.param.warning(
'Use of __call__ to set options will be deprecated '
- 'in future. Use the equivalent opts method or use '
- 'the recommended .options method instead.')
+ 'in the next major release (1.14.0). Use the equivalent .opts '
+ 'method instead.')
if not kwargs and options is None:
return self.opts.clear()
return self.opts(options, **kwargs)
-
def options(self, *args, **kwargs):
"""Applies simplified option definition returning a new object.
