Commit Graph

2848 Commits

Author SHA1 Message Date
Kenneth Lyons
fc9768be3c
Merge pull request #356 from QuLogic/np-warnings
Fix some NumPy warnings
2019-09-12 22:36:55 -07:00
Elliott Sales de Andrade
2e90089890 Fix undefined reduce call. 2019-09-13 01:07:57 -04:00
Elliott Sales de Andrade
d726a9693e Fix UnboundLocalError in VideoSpeedTest. 2019-09-13 01:07:57 -04:00
Elliott Sales de Andrade
3edbef6c57 Ensure exported images use integer dimensions.
It seems that the parameter tree doesn't enforce the int type very
strongly.

Also, use some local variables more often.
2019-09-13 01:07:57 -04:00
2xB
061a30e827 Correctly include SI units for log AxisItems (#972) 2019-09-12 21:58:49 -07:00
2xB
bfd36dc203 Prevent element-wise string comparison (code by @flutefreak7) (#1024) 2019-09-12 21:30:39 -07:00
2xB
8309b53014 Fix: Reset ParentItem to None on removing from PlotItem/ViewBox (#1031) 2019-09-12 21:00:38 -07:00
miranis
e3884ebd20 Update GraphicsScene.py (#599)
In lines 174 and 191 cev[0] is being accessed when cev is an empty list. I get this error when inheriting from GraphicsLayoutWidget and overloading mouseDoubleClickEvent.
2019-09-12 20:24:48 -07:00
Jindřich Makovička
bbc11b96a9 Configurable GridItem tick spacing and pen color (#101) 2019-09-12 14:50:43 -07:00
Ogi Moore
584c4516f0
Expand CI + pre-commit (#991)
* Initial attempt at extra checks in CI land

* Adding flake8 config

* Adding pre-commit configuration and explanation in CONTRIBUTING.md
2019-08-29 13:56:25 -07:00
dschoni
f6378a17a7 Merge remote-tracking branch 'origin/update_changelog' into update_changelog 2019-08-19 13:28:37 +02:00
dschoni
614c4d0529 Added newly merged PRs from the last 3 weeks. 2019-08-19 13:27:16 +02:00
dschoni
982fb3427a Add all important and accepted PRs to changelog 2019-08-19 12:43:38 +02:00
Paul Debus
fd11e1352d fix encoding error in checkOpenGLVersion (#787) 2019-08-18 12:16:31 -07:00
2xB
80f8af2432 Use Qt5 QWheelEvent functions if necessary (#924)
* Make QWheelEvent code consistently compatible with Qt5

* Add documentation

* Removed old TODO message

* Init remote QWheelEvent only with relative position, minor code simplifications

* RemoteGraphicsView Renderer assumes to be at (0,0)

* Orientation serialized as boolean
2019-08-18 10:17:34 -07:00
Pepijn Kenter
3a863fff9a Fixes incorrect default value for scale parameter in makeARGB. (#793)
* Fix incorrect default value for scale paremter in makeARGB.

* update tests to pass with codebase change
2019-08-17 22:19:11 -07:00
2xB
31f1ae586b Fix: Allow wrapped GraphicsLayoutWidget to be deleted before its wrapping Python object (#1022) 2019-08-17 20:43:21 -07:00
2xB
ff30a82298 Fix: colormap: Support various arguments as color (#1014)
* colormap: Support various arguments as color

* Using mapping for speed and consistency (suggested by @j9ac9k)
2019-08-17 20:38:05 -07:00
2xB
b7b431de8d FIX: Curves are automatically set visible when one is deleted (#987)
* Do not automatically set all curves visible

* Improved array iteration in PlotItem.updateDecimation
2019-08-17 20:36:34 -07:00
2xB
d77ad273c7 Fix: Item on ViewBox causes duplicate paint calls (#1017)
* Fix: Item on ViewBox causes duplicate paint calls

* Assure call of ViewBox.updateMatrix on resizeEvent

* Fix: Disable autorange on "ViewBox.setRange" before updateAutoRange is called
(Called via updateViewRange -> update -> prepareForPaint)
2019-08-17 11:52:45 -07:00
2xB
05aa3e9393 Add 'fillOutline' option to draw an outline around a filled area (#999) 2019-08-17 09:57:40 -07:00
2xB
cd3f7fd68e Adding setter for GLGridItem.color (#992)
* adding option to set grid color on demand

* Update after setColor

* Made GLGridItem color attribute private

* Init GLGridItem color with fn.Color

* Added docstring
2019-08-17 09:55:55 -07:00
2xB
08c0de768b Warn if visible GraphicsView is garbage collected (#942)
* Warn if visible window is garbage collected

* (Py)Qt does not rely on Python GC

* Only warn if deleted widget has no parents (if it is a standalone window)

* Hide windows when closing

* Only implement GraphicsView.__del__ if it does not prevent circular reference garbage collection
2019-08-16 22:32:06 -07:00
Ogi Moore
7b70d66c6a
Merge pull request #974 from 2xB/fix-296-2
FIX: RecursionError when instanciating CtrlNode
2019-08-16 21:43:32 -07:00
Ogi Moore
67433a1451
Merge pull request #998 from 2xB/fix_461
Fix QtProcess proxy transmitting small multidimensional arrays
2019-08-16 21:21:46 -07:00
Ogi Moore
750ec5a1f9
Merge pull request #996 from kevinanewman/patch-1
Update LegendItem.py
2019-08-16 21:19:18 -07:00
Ogi Moore
b7a3237361
Merge pull request #1010 from Axel-Jacobsen/develop
BarGraphItem CSV/image export
2019-08-16 20:42:58 -07:00
Ogi Moore
9bb82a8af2
Merge pull request #1015 from 2xB/always_nparray
Always convert PlotDataItem data to NumPy array
2019-08-16 20:29:06 -07:00
Ogi Moore
273757fa4b
Merge pull request #1016 from 2xB/fix-862
Fix: ImageView sigTimeChanged was only emitted on mouse interaction
2019-08-16 20:28:02 -07:00
Ogi Moore
eb7baa3855
Merge pull request #1019 from 2xB/fix-1018
Fix: GLScatterPlotItem and GLImageItem initializeGL only executed once
2019-08-16 20:19:31 -07:00
2xB
8d2c16901b Merge master into develop (#981)
* Information is spelled with an r, even in comments
2019-08-16 20:16:01 -07:00
2xB
652ae9e64a Fix: GLScatterPlotItem and GLImageItem initializeGL only executed once 2019-08-15 02:41:51 +02:00
2xB
4e6629f352 Fix: ImageView sigTimeChanged was only emitted on mouse interaction 2019-08-08 17:39:11 +02:00
2xB
abd028436a Always convert PlotDataItem data to NumPy array 2019-08-08 16:58:28 +02:00
Axel Jacobsen
27d94cae92 enforce utf-8 encoding for casting QByteArray to str
remove print statements
2019-08-06 12:00:31 -07:00
Axel Jacobsen
18661cab0d BarGraphItem CSV export and documentation 2019-08-06 09:32:43 -07:00
dschoni
2312c5fbfc Add all important and accepted PRs to changelog 2019-07-29 17:50:38 +02:00
2xB
a655e974ff Call multiprocess.connection.Connection.send_bytes with bytes 2019-07-20 20:33:11 +02:00
Kevin Newman
6648db031e
Update LegendItem.py
Propose adding a clear() method (or equivalent) for easier legend re-use with dynamically updated plots...
2019-07-17 08:37:16 -04:00
Kenneth Lyons
ad7453c781
Merge pull request #989 from ziqiangxu/patch-2
Fix typo
2019-07-10 10:45:55 -07:00
Kenneth Lyons
1e4fdc45e9
Merge pull request #990 from ziqiangxu/patch-3
Fix typo
2019-07-10 10:42:54 -07:00
Daryl.Xu
e24d23af5c
Fix typo 2019-07-10 11:00:33 +08:00
Daryl.Xu
a38bdc06de
Fix typo 2019-07-10 10:38:04 +08:00
2xB
b0bc5b8931 Add issue template (#976)
* Create issue template

* Refined issue template

Following suggestions by ixjlyons
2019-07-02 10:26:51 -04:00
Daniel Hrisca
73c440a4db remove deprecated call to time.clock (#980)
remove deprecated call to time.clock for python3
2019-07-02 07:01:32 -04:00
Luke Campagnola
138fdd0af2 relax image comparison for failing windows test (#979)
relax image comparison for failing windows test
2019-07-02 06:57:45 -04:00
Ogi Moore
1ec175385e
Merge pull request #978 from campagnola/fix-viewbox-test
Reduce test window size for OSX compatibility
2019-07-01 19:38:08 -07:00
Luke Campagnola
cff9cfa98d Reduce test window size for OSX compatibility 2019-07-01 19:00:18 -07:00
Luke Campagnola
dc9aa84ce3 Add a faster method for computing pseudoscatter 2019-07-01 18:30:00 -07:00
Kenneth Lyons
bc13d48822
Merge pull request #975 from ixjlyons/builtin-faulthandler
Remove pytest-faulthandler from test dependencies
2019-07-01 12:42:31 -07:00