Commit Graph

2030 Commits

Author SHA1 Message Date
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
Kenneth Lyons
5c3214105c Merge remote-tracking branch 'duguxy/py3-flowchart-sl' into py3-flowchart 2019-05-23 17:49:21 -07:00
Ogi
309f89d413 Create tox configuration, update README accordingly. 2019-05-22 22:07:30 -07:00
Kyle Sunden
20c74954a5
Merge pull request #830 from tacaswell/mnt_future_proof_text
MNT: future-proof the code a bit
2019-05-22 19:24:57 -05:00
2xB
cf3c294899 Fix Travis CI on 'develop' branch (#877)
* Removed unused code

There is no reason to keep old, unused code in a git repository

* Removed system_site_packages from Travis CI

system_site_packages are opposed to the used conda installation. They are both unnecessary and lead to Travis build errors.
2019-05-22 15:44:54 -07:00
Ogi Moore
9cb351feee
Implement azure ci (#865)
* [skip-ci] Initial Azure-Pipelines configuration.

The following configurations are tested

* macOS 10.13
* ubuntu 16.04
* Windows Server 2016

Under each operating system, the following Qt bindings are tested

* conda based pyqt4
* conda based pyside
* conda based pyside2 (5.6)
* conda based PyQt5 (5.9)
* pip basedd PyQt5 (5.12)
* pip based PySide2 (5.12)

For each configuration, it runs `python -m pytest --cov pyqtgraph -sv`

The only configuration that actually passes all tests is Ubuntu-pip-PyQt5
2019-05-22 15:24:21 -07:00
Ogi Moore
04927dd3cf
Merge pull request #764 from Billy4195/Update_install_doc
Update the installation document
2019-05-22 14:30:26 -07:00
Ogi Moore
f422dbd9ae
Merge pull request #866 from j9ac9k/fix-pyside2-qt.py-tests
Fix pyside2 qt.py tests
2019-05-22 14:16:11 -07:00
Ogi Moore
977996109d
Merge pull request #873 from 2xB/fix_travis_master
Fix Travis CI
2019-05-22 13:25:44 -07:00
dschoni
bac8080b0c Typecast Levels to be float
This circumvents cases in which "levels" is a boolean array and therefore the substraction fails due to deprecation.
2019-05-21 14:14:10 +02:00
dschoni
7f93e8205f Found one more instance of the same warning in functions.py 2019-05-21 13:38:46 +02:00
dschoni
42fd5614d0 Fix deprecation warning of multi-dimension tuples 2019-05-21 13:38:34 +02:00
2xB
af57d16bb5
Removed system_site_packages from Travis CI
system_site_packages are opposed to the used conda installation. They are both unnecessary and lead to Travis build errors.
2019-05-19 00:28:18 +02:00
Ogi
afb665ec99 make use of shiboken2 directly for isValid method 2019-05-12 17:35:26 -07:00
Ogi
d873ee6b26 fixes ImportError on importing pysideuic 2019-05-12 17:31:12 -07:00
Ogi
aa50296b9f gc.collect() causes segfault on pyside2, test will pass on pyqt5 bindings (did not test pyqt4 or pyside1) 2019-05-12 17:30:40 -07:00
Kenneth Lyons
2817b95c93 Set path attr in case ErrorBarItem initialized without data 2019-05-03 18:45:15 -07:00
Luke Campagnola
51b3201564
Merge pull request #824 from ronpandolfi/develop
Fix for PySide2; QtCore.QPoint.__sub__ no longer works with tuples
2019-05-03 10:58:21 -07:00
SamSchott
365c13fedc
Clipping: don't assume that x-values have uniform spacing
Do not assume that x-values have uniform spacing -- this can cause problems especially with large datasets and non-uniform spacing (e.g., time-dependent readings from an instrument).

Use `np.searchsorted` instead to find the first and last data index in the view range. This only assumes that x-values are in ascending order. This prevents potentially too strong clipping.
2019-03-14 22:41:10 +00:00
Luke Campagnola
229f650adf
Merge pull request #837 from scseeman/color_map_widget_options
add option to set other field variables in ColorMapWidget
2019-03-08 12:55:23 -08:00
Luke Campagnola
41107e4caa
expand docstring 2019-03-08 12:46:10 -08:00
Luke Campagnola
894c9a4362
move default handling up to colormapparameter 2019-03-08 12:33:14 -08:00