Ogi Moore
69be66699a
Merge pull request #1650 from NilsNemitz/add_clip_scalar_function
...
Do not use clip_array on scalars (use clip_scalar instead)
2021-03-22 11:16:50 -07:00
Ogi Moore
517d243166
Remove unhelpful warnings ( #1646 )
...
* Remove warning about existing QApplication
* Remove reference to weave which we do not use
* Do away with opengl warning
* Remove weaveDebug config option
2021-03-22 11:12:01 -07:00
Nils Nemitz
2c82a84f68
Do not use clip_array on scalars (use clip_scalar instead)
2021-03-23 01:08:31 +09:00
Nils Nemitz
a1eca4e2dd
handle empty adjanceny array ( #1647 )
2021-03-21 21:14:19 -07:00
pijyoi
d74bbe3bf6
Fix functions.clip_array() ( #1649 )
...
* fix clip_array()
return error for invalid inputs.
use minmax for win32, umath.clip for other platforms
the previous code was penalizing Linux
* force output to be an array
2021-03-21 18:44:26 -07:00
Nils Nemitz
d0f5a6686f
PlotDataItem: Fix view range <-> dynamic range limit pathology and switch to np.umath.clip ( #1637 )
...
* 'no offscreen clip' optimization and switch to np.umath.clip
* swapped out clipping code for new functions.array_clip
2021-03-20 22:16:15 -07:00
Ogi Moore
170da9746c
Initial draft of changelog for 0.12.0
2021-03-20 17:02:43 -07:00
Nils Nemitz
574c2d24f2
Stop PlotDataItem from always sending full style information to PlotCurveItem / ScatterPlotItem ( #1619 )
...
* skip unneded style updates in PlotDataItem
* removed unwanted file
* obliviated stray debug statement
2021-03-19 22:54:53 -07:00
Nils Nemitz
5fa3901c00
Fix transformations in GradientLegend ( #1639 )
...
* rebuilt transformations
* restored drawing order to bg > bar > labels (and removed some print statements)
2021-03-19 22:06:18 -07:00
Ogi Moore
8e32eeb1a5
Merge pull request #1641 from pijyoi/clip_refactor
...
refactor code to replace np.clip
2021-03-19 21:58:05 -07:00
KIU Shueng Chuan
8d74dfe11b
refactor code to replace np.clip
2021-03-20 08:09:29 +08:00
Nils Nemitz
12aee3e47d
remove pyqtgraph-core from documentation ( #1636 )
...
* removed pyqtgraph-core from documentation
* reread --> minor revisions
2021-03-19 08:46:30 -07:00
Ogi Moore
3f9e56f62e
Merge pull request #1630 from pijyoi/lut_combine
...
combine levels and lut only if both are present
2021-03-14 08:58:19 -07:00
Ogi Moore
63c19800d2
Merge pull request #1632 from pijyoi/clip_regression
...
rescaleData : workaround np.clip regression since numpy 1.17
2021-03-14 08:52:31 -07:00
Jeffrey Gill
20a3435a4d
Add missing project URL for neurotic to README, add ephyviewer ( #1633 )
...
* Add missing project URL for neurotic to README
* Add ephyviewer to project list in README
2021-03-14 08:49:52 -07:00
KIU Shueng Chuan
56b54344e2
workaround np.clip regression since numpy 1.17
2021-03-14 16:01:29 +08:00
KIU Shueng Chuan
5df14aec1d
combine levels and lut only if both are present
...
previously, if levels was present but lut was not, levels would be
converted into lut.
2021-03-13 16:27:20 +08:00
Ogi Moore
eb7a60fcf8
Fix environment variable typo for highdpi scaling ( #1627 )
2021-03-08 09:36:40 -08:00
Ogi Moore
93b708e2e6
Add used by in readme ( #1626 )
...
* Add projects with links that use pyqtgraph
* Add existing projects to README.md
2021-03-08 09:22:13 -08:00
Ogi Moore
c5a1174f04
Merge pull request #1605 from pijyoi/clean_shutdown
...
let examples have a chance to exit normally
2021-03-06 20:18:50 -08:00
Ogi Moore
829f07b24a
Merge pull request #1618 from pijyoi/pyqt6_abort
...
PyQt6 install sys.excepthook
2021-03-02 22:22:18 -08:00
KIU Shueng Chuan
df64be371a
remove PySide from _loadUiType()
...
bug:
- QT_LIB == "PYSIDE" should have been QT_LIB == PYSIDE
2021-03-03 10:44:23 +08:00
KIU Shueng Chuan
30a64d5f81
Qt.py : remove Qt4
2021-03-03 10:44:23 +08:00
KIU Shueng Chuan
d82f28d390
install sys excepthook for PyQt6
2021-03-03 09:42:16 +08:00
Ogi Moore
fb6ae0ff2c
Merge pull request #1613 from chrismullins/parameter-unpacking
...
Add keys() method to Parameter class
2021-03-02 11:05:47 -08:00
KIU Shueng Chuan
c49e471192
don't skip test_ExampleApp.py
2021-03-02 05:57:17 +08:00
KIU Shueng Chuan
85e894dd73
convert uses of QTimer.singleShot to QTimer instances
...
On macOS and Linux with PyQt bindings, QTimer.singleShot continues
to fire on python interpreter shutdown.
2021-03-02 05:57:17 +08:00
Kiu Shueng Chuan
1ad7d49908
de-duplicate Big Sur opengl skip testing
2021-03-02 05:57:17 +08:00
Kiu Shueng Chuan
5f6be29f66
connect paletteChanged to standalone function
2021-03-02 05:57:17 +08:00
KIU Shueng Chuan
de11e6315c
let examples have a chance to exit normally
...
cleanup imported module
1) instantiate MainWindow class if present
2) delete attributes from imported module when done
2021-03-01 21:24:43 +08:00
Chris Mullins
9ed51cd1e2
Add keys() method to Parameter class
...
This returns the names attribute, allowing **unpacking of Parameter subclasses.
2021-02-28 03:00:19 +00:00
Martin Chase
2318f49bc4
include more color in the ImageView example ( #1611 )
...
* work taken from #312 (thanks, @ptweir !)
* turn on an ROI by default
2021-02-25 16:14:34 -08:00
Ogi Moore
cd73aeed0e
Merge pull request #1598 from outofculture/selfless-lambdas
...
Remove references to self from lambdas
2021-02-23 09:40:57 -08:00
Ogi Moore
c1900aa71a
Merge pull request #1599 from pijyoi/choose_binding
...
fix Example App launch of VideoSpeedTest
2021-02-22 13:31:50 -08:00
KIU Shueng Chuan
d8e826e379
disable opengl vsync for benchmarking
2021-02-22 21:15:57 +08:00
KIU Shueng Chuan
fbd1e89950
regenerate templates
2021-02-22 19:17:53 +08:00
KIU Shueng Chuan
a657dea084
remove graphics system combobox
2021-02-22 19:17:53 +08:00
KIU Shueng Chuan
61616ffad9
remove calls to setGraphicsSystem
...
in fact all are no-ops
2021-02-22 19:17:53 +08:00
KIU Shueng Chuan
e09a397ebc
modify environment to choose binding
...
the Example App allows the user to choose a binding and a graphics
system to use to execute an example.
issue 1: setGraphicsSystem is obsolete and the method no longer exists.
thus selecting a graphics system causes an error.
issue 2: the choice of binding to use is passed as an extra command
line argument to be parsed by initExample. this is problematic for
examples that use argparse, such as VideoSpeedTest.py
issue 3: if the user has set PYQTGRAPH_QT_LIB, that takes precedence
over the choice made in the Example App.
this patch fixes the above 3 issues by setting PYQTGRAPH_QT_LIB in
the child process' environment and removing the old parsing of the
command line arguments
2021-02-22 18:13:49 +08:00
Martin
af82858bc8
make these tiny methods with little excuse to exist private
2021-02-21 22:31:13 -08:00
Martin
68fa95686b
fix typo
2021-02-21 07:05:24 -08:00
Martin
7f4f677ce1
lambdas which reference self prevent GC
2021-02-21 06:49:07 -08:00
Ogi Moore
5b1ac7acaa
Merge pull request #1597 from pijyoi/fix_dim2
...
RawImageWidget: transpose did not handle luminance only images
2021-02-20 09:24:18 -08:00
KIU Shueng Chuan
0dc17ef546
RawImageGLWidget follow same style as RawImageWidget
...
i.e. row-major convention is used internally and user inputs are
converted at the point of entry.
2021-02-20 18:58:26 +08:00
KIU Shueng Chuan
5a29373572
fix: make transpose work for either ndim 2 or 3
...
at the same time, increase performance by using
makeQImage(copy=False, transpose=False)
2021-02-20 18:42:13 +08:00
Ogi Moore
3eda637652
Merge pull request #1595 from outofculture/cupy-bug-workaround
...
Workaround for cupy indexing bug
2021-02-19 21:58:14 -08:00
Martin
09fd7a81b9
account for cupy inconsistency in slicing with a boolean array
...
See https://github.com/cupy/cupy/issues/4693
2021-02-19 20:51:35 -08:00
Ogi Moore
6fc0389f33
Merge pull request #1594 from outofculture/plotitem-regression
...
Fix Plotitem regression
2021-02-19 12:21:16 -08:00
Martin
b7e560a7ea
fix imports
...
* metaarray is not used
* PlotCurveItem and ScatterPlotItem needed to be imported
* sort
2021-02-19 11:33:06 -08:00
Martin
b9086f1023
no "i" variable anymore
2021-02-19 11:11:38 -08:00