Skip to content
This repository has been archived by the owner on Nov 29, 2019. It is now read-only.

Commit

Permalink
Removed outdated use of __call__ for holoviews objects
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed May 16, 2018
1 parent 2e10365 commit 8241d52
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/user_guide/View_Parameters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@
" \n",
" def view(self, *args, **kwargs):\n",
" return self.element(self.amplitude*np.sin(np.linspace(0, np.pi*self.frequency)),\n",
" vdims=[hv.Dimension('y', range=(-5, 5))])(style=dict(color=self.color))\n",
" vdims=[hv.Dimension('y', range=(-5, 5))]).opts(style=dict(color=self.color))\n",
" \n",
" def event(self, **kwargs):\n",
" if not self.output or any(k in kwargs for k in ['color', 'element']):\n",
Expand Down

0 comments on commit 8241d52

Please sign in to comment.