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

param.Action is broken #9

Open
ceball opened this issue Oct 21, 2017 · 1 comment
Open

param.Action is broken #9

ceball opened this issue Oct 21, 2017 · 1 comment
Assignees

Comments

@ceball
Copy link
Member

ceball commented Oct 21, 2017

See #7

@ceball ceball self-assigned this Oct 21, 2017
ceball added a commit that referenced this issue Dec 14, 2017
ceball added a commit that referenced this issue Dec 19, 2017
@kcpevey
Copy link

kcpevey commented Aug 31, 2018

This appears to still be broken. I am trying to create a param.Action button that just prints a statement. This example works works in paramnb and seems like it should also work in parambokeh. Am I missing something?

def hello(x):
    print("Hello %s" % x)

class BaseClass(param.Parameterized):
    x                       = param.Parameter(default=3.14,doc="X position")

class Example(BaseClass):
    msg                     = param.Action(hello, doc="""Print a message.""",precedence=0.7)
    
parambokeh.Widgets(Example)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants