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
Nils Nemitz
244182d2bf
added colormap sampling functions
2021-03-19 16:44:25 +09: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
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