Skip to content

Commit

Permalink
Merge pull request #587 from ioam/add_style_opts
Browse files Browse the repository at this point in the history
Fixed Store.add_style_opts method
  • Loading branch information
jlstevens committed Apr 11, 2016
2 parents b344b9a + 1b9be53 commit cd5858a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/core/options.py
Original file line number Diff line number Diff line change
Expand Up @@ -943,7 +943,7 @@ def add_style_opts(cls, component, new_options, backend=None):
if option not in cls.registry[backend][component].style_opts:
plot_class = cls.registry[backend][component]
plot_class.style_opts = sorted(plot_class.style_opts+[option])
cls._options[backend][type(component).__name__] = Options('style', merge_keywords=True, allowed_keywords=new_options)
cls._options[backend][component.name] = Options('style', merge_keywords=True, allowed_keywords=new_options)


@classmethod
Expand Down

0 comments on commit cd5858a

Please sign in to comment.