Maxime Liquet

Results 368 comments of Maxime Liquet

@jlstevens do you know if this pattern, i.e. depending on a subobject that is not one of the Parameters of the class but is supported by Param? I think it...

My intuition is that we get a mix of two things: * even if `_sub` is not a Parameter the callback is correctly registered on `_sub.s` with `watch=True` * methods...

@philippjfr do you think the pattern I showed in the example should be supported or it happens to work by chance? i.e., the fact that one can use `depends` on...

@jbednar FYI I've simplified the example. I wouldn't really know how to use `add_parameter` to add a parameter that's watched with `param.depends`. If you meant something like that: ```python class...

This doesn't raise any error with the latest version of param. It does if instead of depending on `thing.whatever` I declare that I depend on `thing`. ```python class P1(param.Parameterized): x...

Guess it's related to this issue: ```python class P(param.Parameterized): @param.depends('x.y', watch=True, on_init=True) def cb(self): print('cb') ``` Instantiating P with `p = P()` will fire the callback and print `'cb'`. Note...

Might be a separate discussion, but I'd also be happy if the Parameters were ordered alphabetically by default, the help of Parameterized classes with lots of Parameters are difficult to...

(Was editing my message but posting here now since you've added a comment Marc!) +1 on improving the help! Look how rich highlights alternating rows, I quite like that. And...

Agree. But we need to keep the `init signature` entry, since users can initialize a Parameterized class with non-param parameters: ```python class P(param.Parameterized): x = param.Number(default=10) def __init__(self, y, **params):...