Skip to content

Commit

Permalink
Docs and minor code fixes (#1759)
Browse files Browse the repository at this point in the history
* __call__ to .opts() mods

* __call__ to .opts() mods

* __call__ to .opts() mods
  • Loading branch information
ea42gh authored and jlstevens committed Jul 27, 2017
1 parent 1e7b72b commit dcf4a61
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 72 deletions.
2 changes: 1 addition & 1 deletion examples/gallery/apps/bokeh/crossfilter.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ def create_figure():
if size.value != 'None':
opts['size_index'] = size.value
opts['scaling_factor'] = (1./df[size.value].max())*200
points = hv.Points(df, kdims=kdims, label=label)(plot=opts, style=style)
points = hv.Points(df, kdims=kdims, label=label).opts(plot=opts, style=style)
return renderer.get_plot(points).state

def update(attr, old, new):
Expand Down
2 changes: 1 addition & 1 deletion holoviews/operation/element.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ def _process(self, p, element, ranges={}):
opts = dict(axiswise=True, framewise=True)
el = p.diagonal_operation(element,
dimension=d1.name,
bin_range=bin_range)(norm=opts)
bin_range=bin_range).opts(norm=opts)
else:
el = p.diagonal_operation(element, dimension=d1.name)
else:
Expand Down
Loading

0 comments on commit dcf4a61

Please sign in to comment.