Commit Graph

2573 Commits

Author SHA1 Message Date
Nils Nemitz
244182d2bf added colormap sampling functions 2021-03-19 16:44:25 +09:00
Nils Nemitz
172cef1628 added procedure generation for monochrome palettes 2021-03-13 03:26:28 +09:00
Nils Nemitz
f14e687df8 removed left over diagnostics, added redundant pre-definition of qcol to placate code scanner 2021-03-11 04:30:50 +09:00
Nils Nemitz
7d19711559 general cleanup 2021-03-11 04:07:40 +09:00
Nils Nemitz
34140615fb Merge remote-tracking branch 'upstream/master' into named_colors 2021-03-11 02:45:37 +09:00
Nils Nemitz
291c7c304c restructured to reduce circular dependencies 2021-03-11 02:45:02 +09:00
Nils Nemitz
abda01c51d update 2021-03-09 17:11:15 +09: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
Nils Nemitz
148a35d430 mostly functional example 2021-03-08 02:14:37 +09: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
Nils Nemitz
eb6f724767 start work on NamedBrush 2021-03-07 13:14:33 +09:00
Nils Nemitz
547f847b26 obliviated stray debug statement 2021-03-04 16:00:52 +09:00
Nils Nemitz
352039d5c7 removed unwanted file 2021-03-04 15:39:00 +09:00
Nils Nemitz
f97bff03e7 skip unneded style updates in PlotDataItem 2021-03-04 15:34:13 +09: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