Talley Lambert
Talley Lambert
A start on #98: support for pydantic models. I say a "start" because I'm certain there are going to be types that are rather easy to declare in pydantic, for...
It seems that the discussion here is (vaguely) related to what I'd like to use for my napari plugin, namely a little help icon next to an input field. I...
this code does not result in a combobox with `1,2,3,4` ```py import napari from magicgui.widgets import ComboBox, Container class MyWidget(Container): def __init__(self, viewer: napari.Viewer): super().__init__() self._viewer = viewer self._combobox =...
see https://forum.image.sc/t/using-layer-properties-to-pass-variables/63342/6
See https://napari.zulipchat.com/#narrow/stream/212875-general/topic/magicgui.20tooltips
@kevinyamauchi's wish list from https://github.com/napari/napari/issues/3512#issuecomment-950645888 **high priority"** - [x] Inputs: pandas DataFrame and a dict of numpy arrays - [x] Outputs: pandas DataFrame and a dict of numpy arrays -...
The select widget allows selection of one or more items, but isn't as nice always as a set of checkboxes... implement that
As @sofroniewn suggested, pydantic's constrained types make for a natural way to express things like ranges and widget parameters as type annotations. We should detect and support pydantic types
This PR will add ipywidgets as a widget backend for the jupyter environment (using `magicgui.use_app('ipynb')`). Things are coming together pretty well, with most widgets and events working nicely: https://user-images.githubusercontent.com/1609449/103779235-76028c80-5001-11eb-8504-20907c620c62.mov
Python `int` type is unbounded, so it would be nice to have a SpinBox that represents that. Could be done (in qt at least) using QAbstractSpin box, leaving the model...