Skip to content

Commit

Permalink
Fix for empty options method call
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Apr 27, 2018
1 parent 0389fbf commit 0848836
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion holoviews/core/dimension.py
Expand Up @@ -1214,7 +1214,10 @@ def options(self, options=None, backend=None, clone=True, **kwargs):
options = {type(self).__name__: kwargs}

from ..util import opts
expanded = opts.expand_options(options, backend)
if options is None:
expanded = {}
else:
expanded = opts.expand_options(options, backend)
return self.opts(expanded, backend, clone)


Expand Down

0 comments on commit 0848836

Please sign in to comment.