vincent d warmerdam
vincent d warmerdam
> Is anyone working on this? If not, I am happy to work on the issue. I am open to it, sure, go for it :)
> I have a question though, it requires both X, y in fit, otherwise it raises a ValueError. I kind of thought that when the fit signature says fit(X, y=None)...
Good question. I guess not? We could see if there's an easy way to split this into many smaller tickets ... but that's also the best that I can come...
Maybe other admins as well? I can also click it.
It is not the worst idea, but I do fear the sheer amount of compute that we might waste in doing that. The CI job will become a whole lot...
@willmcgugan would you mind if I start exploring this a bit? I'm down to work on it.
I have some first progress after patching the `display` function in `jupyter.py`. It now looks like this: ```python def display(segments: Iterable[Segment], text: str) -> None: """Render segments to Jupyter.""" html...
Ah. I think I just hit a roadblock. https://github.com/Textualize/rich/blob/4d6d631a3d2deddf8405522d4b8c976a6d35726c/rich/live.py#L141-L143 For the terminal and Jupyter this is fine, but for marimo it's tricky because `mo.output.replace()` doesn't work from background threads. I...
> BTW, you might want to open a new issue or discussion to track this. Fair. We have an issue internally for the `mo.output.replace`. Once we get round to that...
I have found a bit of a hack on my marimo WASM notebook. ```python import sys sys.modules['_multiprocessing'] = object from multiprocessing.pool import ThreadPool ``` This seems to get past the...