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
Ogi Moore
d9eb8e1afb
Merge pull request #1575 from pijyoi/reduce_shim
...
Reduce number of shims for PyQt6
2021-02-19 09:40:06 -08:00
Ogi Moore
d0d10ca512
Merge pull request #1587 from irgolic/darkmode-example-property
...
app.dark_mode => app.property('darkMode')
2021-02-18 19:33:16 -08:00
Rafael Irgolic
6da60ccec8
Qt: Remove some Qt4 shims
2021-02-18 19:12:32 +00:00
Rafael Irgolic
ae54e27ff6
app.dark_mode => app.property('darkMode')
2021-02-18 19:02:18 +00:00
Ogi Moore
1a2728a671
Merge pull request #1586 from j9ac9k/investigate-rawImage-imageaxisorder
...
Investigate raw image imageaxisorder
2021-02-16 22:48:22 -08:00
Ogi Moore
765032fc0b
Do not upload texture every paintGL call
2021-02-16 22:19:38 -08:00
Ogi Moore
0b26ef3644
RawImageWidget uses imageAxisOrder config option
2021-02-16 22:19:13 -08:00
Ogi Moore
acd172eb13
Merge pull request #1583 from pijyoi/port_qopenglwidget
...
RawImageWidget.py : fix port to QOpenGLWidget
2021-02-15 21:02:34 -08:00
Ogi Moore
c13da2c6da
Merge pull request #1582 from pyqtgraph/rtd
2021-02-15 18:40:40 -08:00
KIU Shueng Chuan
2719922584
RawImageWidget.py : fix port to QOpenGLWidget
...
Qt5 docs specify differences between QGLWidget and QOpenGLWidget:
"...when invoking paintGL().
QOpenGLWidget sets up the viewport via glViewport().
It does not perform any clearing."
2021-02-16 09:15:37 +08:00