Skip to content

Commit

Permalink
Merge pull request #1438 from ioam/style_filter
Browse files Browse the repository at this point in the history
Filter style opts for plots not declaring style_opts
  • Loading branch information
jlstevens authored May 15, 2017
2 parents a99833f + 86b6ca8 commit 6eed7ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/plotting/plot.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def lookup_options(cls, obj, group):
style_opts = None

node = Store.lookup_options(cls.backend, obj, group)
if group == 'style' and style_opts:
if group == 'style' and style_opts is not None:
return node.filtered(style_opts)
elif group == 'plot' and plot_class:
return node.filtered(list(plot_class.params().keys()))
Expand Down

0 comments on commit 6eed7ea

Please sign in to comment.