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

Commit

Permalink
Fixed issue with using title as a key
Browse files Browse the repository at this point in the history
  • Loading branch information
jlstevens committed May 16, 2018
1 parent a008e86 commit 2e10365
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions parambokeh/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,8 @@ def _make_widget(self, p_name):
else:
kw['title'] = p_name

kw['name'] = p_name

if hasattr(p_obj, 'get_range') and not isinstance(kw['value'], dict):
options = named_objs(p_obj.get_range().items())
value = kw['value']
Expand Down
4 changes: 2 additions & 2 deletions parambokeh/widgets.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ def RangeWidget(*args, **kw):
return RangeSlider(*args, **kw)

def PlotWidget(*args, **kw):
return column(name=kw['title'])
return column(name=kw['name'])

def HTMLWidget(*args, **kw):
return Div(name=kw['title'])
return Div(name=kw['name'])


ptype2wtype = {
Expand Down

0 comments on commit 2e10365

Please sign in to comment.