Commit Graph

1801 Commits

Author SHA1 Message Date
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
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
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
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
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
Kenneth Lyons ac0e9dc99d Add timeout for pytest<5 2019-07-01 11:28:15 -07:00
Kenneth Lyons 2a0f866f7c Add timeout option back to ini and remove command line option 2019-07-01 09:22:48 -07:00
Ogi Moore 04114fa126
Merge pull request #968 from ecejeff/unit-label-fix
Fix for AxisItem using old scale to create label
2019-07-01 07:01:05 -07:00
Ogi Moore d7cb60441c
Merge pull request #971 from fernandohds564/PR-fix-SignalProxy
Fix method disconnect of SignalProxy class.
2019-07-01 06:59:39 -07:00
Kenneth Lyons df0467961e Install pytest-faulthandler for py27 and add timeout 2019-06-30 13:36:29 -07:00
Kenneth Lyons 98e66a855e Remove pytest-faulthandler from test dependencies 2019-06-30 12:05:57 -07:00
2xB a4cecf4a22 Call parent __init__ as soon as possible for CtrlNode 2019-06-30 17:50:11 +02:00
Fernando caf7378f38 FIX: fix disconnect method of SignalProxy class. 2019-06-28 10:59:03 -03:00
Billy SU 23b4e174f0 Add Dock test and remove outdated comments (#659)
* Add test for Dock closable arg

* Remove outdated and debug comments

* Add test for hideTitle dock
2019-06-27 21:51:54 -07:00
Ogi Moore f4be4efdaa
Merge pull request #969 from 2xB/fix-252
Corrected documentation for heightColor shader
2019-06-27 21:17:43 -07:00
2xB c37956b29a Corrected documentation for heightColor shader 2019-06-28 01:51:20 +02:00
Ogi Moore 18bfee3462
Merge pull request #333 from ombschervister/legend_fix
fix legendItem drag
2019-06-27 14:44:55 -07:00
Jeffrey Nichols d9f0da5a7c
Fix for AxisItem using old scale to create label 2019-06-27 14:45:37 -04:00
Ogi Moore 82d690e08d
Merge pull request #321 from espdev/fix-issue316
Fixing the border rect overlapping for ViewBox and GraphicsLayout
2019-06-26 22:33:21 -07:00
Ogi Moore 7f327329f4
Merge pull request #840 from OE-FET/patch-3
Clipping: don't assume that x-values have uniform spacing
2019-06-26 22:29:31 -07:00
Ogi Moore db20067e72
Merge pull request #966 from j9ac9k/skip-opengl-macos-py27-qt4
Skip GL* examples if on macOS with python2 and qt4 bindings
2019-06-26 09:48:13 -07:00