New Features
--------------
- `bind` method of `magicgui` is compatible with `magicclass` now:
python
set_options(x={"bind": value})
def func(self, x):
...
The bind callback can be a class methods which take `self` and an `EmptyWidget` as arguments.
- Many new popup modes. Changing the popup mode with `popup=False` is now deprecated and from now on `popup_mode=...` should be used.
- Disable error handling in message box by setting `error_mode="stderr"`.
- Close button at the upper left corner of `magicgui` widget if it is not popped up.
- `Parameters` class is available, which is very useful to make "set global variable" function like:
python
magicclass
class A:
class Set_Parameters(Parameters):
i = 1
s = "a"
... and a "Set Parameters" button appears in the main widget.
- `magicclass` can be nested in `magicmenu` now.
- `qtgraph.Canvas` and `qtgraph.ImageCanvas` have more consistent API now. In both class you can add plot/scatter, connect mouse click callbacks and refer to items.
Bug fixes
----------
- Compatibility of `magicgui` decorator and `wraps` decorator.