Commit Graph

1737 Commits

Author SHA1 Message Date
Ogi Moore
4a33f24582
Merge pull request #770 from cklb/develop
Fix issue #481 - `setCameraPosition` in `GLViewWiedget` ignored `pos` argument
2019-06-04 13:29:26 -07:00
Ogi Moore
cd857dbf2f
Merge pull request #778 from hoatd/patch-1
Fix bug in GLViewWidget.py
2019-06-04 13:24:14 -07:00
Ogi Moore
2552be986f
Merge pull request #901 from ksunden/reload
Add condition for namespace packages
2019-06-04 10:01:57 -07:00
Ogi
be0e95ace7 Incorporating requested changes 2019-06-03 20:49:31 -07:00
Ogi
9f66b7dc6e Much better error reporting/tracepacks on examples 2019-06-02 22:16:35 -07:00
Ogi
d2331bde7f Removing duplicate entries 2019-06-01 22:36:29 -07:00
Ogi
5ff409ba4b Move example test code such that pytest is required 2019-06-01 22:36:11 -07:00
Matt Liberty
c52382c3b9 Moved emits after all method state updates since PySide2 immediately executes signals.
Pull request #907 addressed a specific case where a signal was emitted before a state update.
If an application's slot then calls back into the instance, the instance was in an inconsistent
state.  This commit audits and fixes similar issues throughout the pyqtgraph library.  This
commit fixes several latent issues:

* SignalProxy: flush -> sigDelayed -> signalReceived would have incorrectly resulted in timer.stop().
* ViewBox: resizeEvent -> sigStateChange -> background state
* ViewBox: setRange -> sigStateChange -> autoranging not updated correctly
* ViewBox: updateMatrix -> sigTransformChanged -> any _matrixNeedsUpdate = True -> ignored
* Parameter: Child may have missed state tree messages on insert or received extra on remove
* GraphicsView: updateMatrix -> sigDeviceRangeChanged/sigDeviceTransformChange -> before propagated to locked viewports.
2019-06-01 16:28:23 -04:00
Ogi Moore
eb90616ae2
Merge pull request #905 from 2xB/test_exclude_examples
Exclude selected examples from tests (such as HDF5)
2019-05-31 22:28:54 -07:00
Ogi Moore
e7cbc12491
Merge pull request #813 from danielhrisca/axisitem_tweak
AxisItem performance improvements
2019-05-31 22:16:46 -07:00
Ogi Moore
99480dd184
Merge pull request #907 from jetperch/develop
Fixed ViewBox.updateViewRange to apply transformation sooner
2019-05-31 21:05:29 -07:00
Ogi Moore
5d30adedb5
Merge pull request #908 from j9ac9k/fix-xvfb-colordepth
Add pytest config file specifying colordepth when using pytest-xvfb
2019-05-31 17:56:33 -07:00
Ogi
191ce16e8d Add pytest config file specifying colordepth when using pytest-xvfb 2019-05-31 17:11:22 -07:00
Luke Campagnola
478d4c5a86
Merge pull request #903 from j9ac9k/ci-fixes
More Robust CI
2019-05-31 16:01:15 -07:00
Ogi
f1f83c5cde Resolve Merge Conflict 2019-05-30 14:56:20 -07:00
Ogi
153d78711b Implement Fault Handler when test takes 60 seconds 2019-05-30 14:40:39 -07:00
Ogi Moore
1616e99b3a Fix docstring warning 2019-05-30 14:40:39 -07:00
Ogi
2df71abfec We support pyside2 don't we? 2019-05-30 14:40:39 -07:00
Ogi
f2426e9dd2 Capture Screenshots 2019-05-30 14:40:39 -07:00
Matt Liberty
b3c0bf635d Fixed ViewBox.updateViewRange so that transformation is updated for sigXRangeChanged and sigYRangeChanged in PySide2. 2019-05-29 20:02:00 -04:00
Luke Campagnola
52fef555ee
Merge pull request #904 from j9ac9k/take-screenshots
Take screenshots + Show Resolution
2019-05-29 13:12:12 -07:00
Ogi Moore
4b26519fef Move Desktop Resolution info print statement to test.py 2019-05-29 13:07:08 -07:00
Ogi Moore
c4e295ceae Use correct path seperators, pass png to upload function 2019-05-29 10:53:04 -07:00
2xB
560993e8c5 Exclude selected examples from tests (such as HDF5) 2019-05-29 11:16:09 +02:00
Ogi
aa63c07523 Show available desktop resolution 2019-05-28 22:57:12 -07:00
Ogi
f2aeea8964 We support pyside2 don't we? 2019-05-28 22:57:12 -07:00
Ogi
e8854d69bb Capture Screenshots 2019-05-28 22:57:12 -07:00
2xB
a37e877631 Add PyQt5 and PySide2 to test_example.py (#897)
* Add PySide2 to test_example.py

Before, example tests are skipped because no PyQt version was found
2019-05-27 21:07:25 -07:00
Kenneth Lyons
08e92adcaa
Merge pull request #894 from j9ac9k/fix-svg-export
Simpler way of extracting types from QByteArray
2019-05-27 17:55:07 -07:00
ksunden
6a4e0a106f Add condition for namespace packages 2019-05-27 16:49:08 -05:00
Thomas A Caswell
f2909e0cfb
Merge pull request #893 from j9ac9k/fix-qt5-pxCount
PySide2 is also a Qt5 binding
2019-05-25 20:19:12 -04:00
Kenneth Lyons
deab37d533 Try to import from collections.abc for Python 3.3+ (#887)
* Try to import from collections.abc for Python 3.3+
2019-05-25 16:25:49 -07:00
Ogi
c69e04db2d Simpler way of extracting types from QByteArray
Simpler way of extracting bytes from QByteArray
2019-05-25 00:24:48 -07:00
Ogi
849c7cab55 PySide2 is also a Qt5 binding 2019-05-24 23:28:48 -07:00
Ogi Moore
957aab008c
Merge pull request #888 from pyqtgraph/py3-treewidget
TreeWidget.topLevelItems Python 3 fix
2019-05-24 22:53:36 -07:00
Ogi Moore
d5b31f6401
Merge pull request #886 from ixjlyons/py3-flowchart
Fix flowchart save on Python 3
2019-05-24 15:58:59 -07:00
Kenneth Lyons
95f4b00e14 TreeWidget.topLevelItems Python 3 fix 2019-05-23 23:56:53 -07:00
Ogi Moore
c71083fff8
Merge pull request #767 from jimofthecorn/develop
fixed bug in graphicsItems/ImageItem.py: degenerate images (max==min)
2019-05-23 23:33:27 -07:00
Ogi Moore
e338447c37
Merge pull request #771 from 2xB/logscale_noruntimewarning
No warning for arrays with zeros in logscale
2019-05-23 23:24:03 -07:00
Ogi Moore
66604593c1
Merge pull request #814 from danielhrisca/enforce_enableMenu
enforce enableMenu in ViewBox
2019-05-23 23:22:52 -07:00
Ogi Moore
9ca9ae3911
Merge pull request #815 from ZanSara/develop
Fix issue #811
2019-05-23 22:44:19 -07:00
Ogi Moore
95d62cec6a
Merge pull request #876 from Dschoni/Fix-deprecated-boolean-substract
Typecast Levels to be float
2019-05-23 22:26:21 -07:00
Ogi Moore
42e7c49984
Merge pull request #880 from j9ac9k/add-tox
[skip ci] Create tox configuration, update README accordingly.
2019-05-23 22:25:27 -07:00
Ogi Moore
bc59457748
Merge pull request #875 from Dschoni/develop
Fix numpy deprecation warning by typecasting multi-dimension indices to tuples.
2019-05-23 22:02:33 -07:00
Ogi Moore
58ae027197
Merge pull request #378 from ben-github/develop
Fix issue with Python3 and changes in how it handles zip.
2019-05-23 21:54:43 -07:00
Ogi Moore
4a76fff11a
Merge pull request #417 from termim/PlotDataItem_clear
In PlotDataItem.clear() use corresponding curve.clear() and scatter.clear()
2019-05-23 21:52:50 -07:00
2xB
e2b01ccf74 FIX: Correct deletion of matplotlib exporter window object (#868)
E.g. when opening the Matplotlib exporter multiple times, and one closes one instance, Python crashes.
This is caused by the Matplotlib QMainWindow listening to the closeEvent and deleting the only reference of
the window before it is closed properly.
2019-05-23 21:35:01 -07:00
HappyTreeBeard
8420fe984a Fixed bug in unit test where temp file remained open when os.unlink was called (#832) 2019-05-23 21:33:23 -07:00
Kenneth Lyons
ffd1624cb9 Use defaultSuffix for smarter file extension handling. 2019-05-23 19:02:56 -07:00
Kenneth Lyons
fd134f77c6 Only append .fc file extension if not added in the file dialog. 2019-05-23 17:53:42 -07:00