Commit Graph

1866 Commits

Author SHA1 Message Date
Janez Demšar
9b8ef188a5 Fix incorrect clipping of horizontal axis when stopAxisAtTick is set (#932)
Horizontal axis are clipeed incorrectly because the code always takes
the vertical coordinate of the span even if the axis is horizontal.
2019-06-19 22:07:57 -07:00
Ogi Moore
f239276cdc
Merge pull request #934 from 2xB/patch-10
Write Python representation of path to Python file
2019-06-19 22:03:28 -07:00
2xB
04baa6eef7
addLine now accepts 'pos' and 'angle' parameters
The issue and this solution are discussed in issue https://github.com/pyqtgraph/pyqtgraph/issues/70.
2019-06-20 04:37:09 +02:00
2xB
fa2a03b8ec
Write Python representation of path to Python file
Before, if the path contained escaped sequences, they would be parsed before being written to `reload_test_mod.py`, therefore when the file was parsed by the Python interpreter, the escape signs would be missing. With this commit, the Python representation is written to the file, so escaped sequences stay escaped.
2019-06-18 20:14:51 +02:00
Ogi Moore
6632355719
Merge pull request #921 from 2xB/patch-9
Prevent element-wise string comparison
2019-06-17 10:22:16 -07:00
2xB
4a592ef10e
Prevent element-wise string comparison
Issue #835 shows that comparing `bins`, which may be a numpy array, with a string `'auto'` leads to element-wise comparison, because the `==` operator for numpy arrays is used. With this commit, potential array and string are switched, so the `==` operator for strings is used, which does no element-wise comparison.
2019-06-17 19:10:32 +02:00
Ogi Moore
7b47337eaf
Merge pull request #918 from j9ac9k/small-test-fixes
README, CONTRIBUTING changes, slight changes to azure CI template and tox.ini
2019-06-12 23:05:53 -07:00
Ogi
ed3a039d23 Testing segfault potential fix 2019-06-11 23:01:24 -07:00
Ogi
f359449715 README and CONTRIBUTING update 2019-06-10 22:39:38 -07:00
Ogi Moore
9b012835ce
Merge pull request #911 from j9ac9k/overhaul-testexamples
Overhaul testExamples
2019-06-10 22:30:31 -07:00
Ogi
f05ff6fbf9 Restore duplicate entries in examples app, but test_examples does not duplicate tests 2019-06-10 21:20:31 -07:00
Ogi Moore
10328817c7
Merge pull request #445 from eendebakpt/feat/remotewarning
add warnings for remote exceptions
2019-06-10 08:53:06 -07:00
Ogi Moore
3482a8436c
Merge pull request #914 from j9ac9k/fix-lastScene-signal-reference
Fix attribute lookup reference
2019-06-09 18:24:58 -07:00
Ogi
5c44d51d6c remove resolution test, have display information printed during debug step 2019-06-09 16:25:22 -07:00
Ogi Moore
172120106d
Merge pull request #861 from ixjlyons/errorbaritem-set-path
Set path attr in case ErrorBarItem initialized without data
2019-06-09 09:23:36 -07:00
Kenneth Lyons
c5126dc26f Update test name. Cleanup unused imports. 2019-06-09 09:12:01 -07:00
Ogi
2462195991 Call pytest directly, ignore specific warnings, fix azure template labeling 2019-06-08 21:22:07 -07:00
Kenneth Lyons
0c84234612 Add a test for ErrorBarItem 2019-06-08 19:57:53 -07:00
Ogi
9f7a4423af Fix attribute lookup reference 2019-06-07 15:06:59 -07:00
Ogi Moore
a838e0267f
Merge pull request #473 from tmtnslt/patch-1
Correct wrong function call in LayoutWidget.addLabel and LayoutWidget…
2019-06-07 14:39:12 -07:00
Kenneth Lyons
1839c5ef59
More concise visibility setting logic 2019-06-07 13:32:25 -07:00
Kenneth Lyons
a2fb00633a DeMorgans the logic for better readability. 2019-06-07 00:00:30 -07:00
Kenneth Lyons
654b76e6a3 Handle setting/clearing data a little more robustly. 2019-06-06 23:57:34 -07:00
Kenneth Lyons
501ad4f082 Only set visible when ErrorBarItem has something to draw. 2019-06-06 23:45:28 -07:00
Ogi Moore
a51ff8eb61
Merge pull request #134 from cjtk/develop
Fix bug in LayoutWidget.py getWidget (self.rows, not self.row)
2019-06-06 15:58:17 -07:00
Ogi Moore
ecbbb8232a
Merge pull request #910 from jetperch/develop
Moved emits after all method state updates
2019-06-06 11:48:44 -07:00
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