Maxime Liquet

Results 828 comments of Maxime Liquet

Thanks for starting to gather the code in a notebook 👍 If you want to display the most recent clusters (n=3) then this change would be required (fixing a typo...

Thanks a lot @MarcSkovMadsen for opening this issue. As a VS Code user too I think we share the same feeling! This is something I'd be happy to work when...

> For the specific issue of datetimes, extending the constructor and setattr to support a provided string seems reasonable, given how awkward it is to create something as a datetime...

Thanks for reporting that, we'll fix it soon!

> Are you saying that round-tripping is currently lossy Exactly. ![image](https://user-images.githubusercontent.com/35924738/168184141-1f638b1e-b3ee-4711-bb39-79467d89c057.png)

Oh. I looked that up but could not find it, is it documented somewhere that there are reserved kwargs? Does this just apply to when `@param.depends` is used to decorate...

Btw this is the error I get with the snippet above: ```python Traceback (most recent call last): File "mltmess/issue_arg_depends.py", line 15, in p.x = 'test' File "/Users/mliquet/WORK/DEV/param/param/parameterized.py", line 367, in...

It also doesn't set the default value as the first item of *objects* if default is not provided: ```python import param class A(param.Parameterized): ls = param.ListSelector(objects=['a', 'b', 'c', 'd']) a...

> It definitely shouldn't do that in any case, `default=None` is perfectly valid (and forces `allow_None`). Oh yes right I thought for some reason that it had the same behavior...

Just noting that `attrs` has two separate concepts for validation with [validators](https://www.attrs.org/en/stable/examples.html#validators) and for conversion with [converters](https://www.attrs.org/en/stable/examples.html#conversion). The need for validation in particular happens quite frequently in Panel, for instance...