When using isort, the order of parametertree/__init__.py imports broke many
of the parameter-types imports. This commit modifies the import statement to
not use the imports from __init__.py but import the respective classes from the
the non-__init__ modules
* allow ThreadTrace to save to a file
* make sure we close our output file
* fix the egregious errors in the file
- no mutable default args
- import things before using them
- variable named obj did not exist, but try/except ignored it
* if it's dumb, and it works, it's not dumb
* linux requires a flush; remove commented code
* always close the file handle, even if its stdout
* it may work for us, but just in case, protect with finally
* turns out: lots of things like to use stdout!
Co-authored-by: Luke Campagnola <lukec@alleninstitute.org>
Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
* make PlotDataItem aware of mapped data
* inf suppression, metadata storage and refactor of data structures
* cleanup, test, and documentation pass
* re-added prepareForPaint, added PlotDataset to sphinx index
* strip more print statements
* indicate (internal) PlotDataset documentation as orphaned to avoid sphinx error
* Do not export PlotDataset
* replacement example
* example comments
* Allows values to be numpy arrays
* Bugfix: Slider now works when limits didn't change during `optsChanged`
* Improved testing + layout of param tree example
* Also fix numpy-like values in list `setValue`
* use proper hex formatting for value
* Fix code warnings
* Avoids use of configfile in parametertree
* Avoid shadowing variable names
* Add explanatory comment to `makeAllParamTypes`
* Allow string options to be 'unset' in file, etc. parameters example
* Bugfix: unintunitive option unsetting for file window title
* don't use lambda in signal connect
* Remove unused import
* fixes#1769
* Automatically set image to ImageView if imageItem is provided.
Added a test for correct initialization of ImageView with imageItem and levelMode.
* Update PlotItem.py
make update decimate to not unhide curves when items added/removed,
while preserving the Max Traces well behaviour
* Update PlotItem.py
fix typo
* Update PlotItem.py
fix: typo with self as argument
* give better name for the function which handles MaxTraces checkstate change
rename it to _handle_max_traces_toggle
* add doc string to updateDecimation
* add test for PlotItem for external curve visibility control
check if hidden curve would stay hidden when adding or removing other items.
* remove additional empty line between methods