Talley Lambert

Results 870 comments of Talley Lambert

i definitely agree that when you write out your preferences to disk in napari, that you should be writing them in os-specific ways: `{ "key": "shift+cmd+z", "command": "redo" }` on...

haven't fully looked through your `_patch_ipywidgets` solution yet... but, just a question: if you could somehow "magically" make some anywidget object pass the `isinstance(x, Widget)` check, would that solve the...

hmmm, yeah, i was hoping i could be sneaky with `__instancecheck__` https://docs.python.org/3/reference/datamodel.html#customizing-instance-and-subclass-checks ... but running into probably the same difficulties you did. It's easy to make anything else look like...

here's another crazy black magic idea: ```python In [8]: import ipywidgets In [9]: class MyThing: ...: @property ...: def __class__(self): ...: return ipywidgets.Widget ...: In [10]: isinstance(MyThing(), ipywidgets.Widget) Out[10]: True...

```python import inspect from ipywidgets.widgets.widget import _widget_to_json import ipywidgets class LieToIpyWidgets: def __get__(self, obj, objtype=None): if obj is None: return self stack = inspect.stack() for frame in stack: if "ipywidgets"...

not saying it's much better than what you're currently doing ... but I do definitely hesitate to monkey patch other peoples libraries, and they would be justified in being annoyed...

changed my mind on this feature. scope creepy

Thanks for the heads up @EwoutH Because we use mypyc to speed it up

thanks for having an eye out here @EwoutH. i'll get on testing v3.13 shortly and will definitely have it compatible before the Oct 1 release date

hey @Kees-van-der-Oord-Nikon Thanks for your note. I agree, it's pretty cumbersome to use ROIs straight from the file metadata :joy: This is great and i'd be happy to add a...