Luke Campagnola
16f0e3034c
Add tests for inpute/output type on a few parameter types
2017-08-02 15:03:58 -07:00
Luke Campagnola
9094261c54
Fix eq() bug where calling catch_warnings raised an AttributeError, which would cause eq() to return False
...
Add unit test coverage
2017-08-02 15:02:38 -07:00
Luke Campagnola
b4e722f07b
Loosen string type checking a bit; let asUnicode throw errors if it
...
needs to.
2017-07-31 17:16:46 -07:00
Luke Campagnola
c719ad4355
Check for existence of QtCore.QString before using it
2017-07-31 17:04:53 -07:00
Luke Campagnola
7de20b8847
Merge pull request #517 from campagnola/fixes
...
Small fixes
2017-07-28 16:17:29 -07:00
Luke Campagnola
518c0b1d5c
Merge pull request #514 from campagnola/viewbox-fix
...
Viewbox fix
2017-07-28 16:01:15 -07:00
Luke Campagnola
0e06c50402
Catch OSError from ForkedProcess that has already exited.
2017-07-28 15:57:45 -07:00
Luke Campagnola
55d21a436f
ViewBox: mark matrix dirty _before_ emitting change signal to ensure
...
that slots can access the latest transform.
2017-07-27 22:21:02 -07:00
Luke Campagnola
5855aa8627
Code cleanup; no functional changes
2017-07-27 22:20:26 -07:00
Luke Campagnola
d343eb044d
Fix errors getting bounds on nanny data
2017-07-14 15:10:16 -07:00
Luke Campagnola
e87eaa652d
Docstring correction
2017-07-14 15:10:04 -07:00
Luke Campagnola
53a3087e33
Merge pull request #479 from campagnola/parametertree-type-checking
...
Add basic type checking to parameters
2017-06-14 09:02:11 -07:00
Luke Campagnola
af4c6735ea
Merge pull request #485 from cboulay/VTickGroup_fixHeight
...
Fixed incorrect height in VTickGroup.
2017-05-24 17:48:48 -07:00
Chadwick Boulay
b186ecbbd9
Fixed incorrect height in VTickGroup.
2017-05-17 09:23:41 -04:00
Luke Campagnola
9203f5ad1e
Merge pull request #458 from ZacDiggum/develop
...
fix image export bug
2017-05-01 17:30:50 -07:00
Luke Campagnola
7761b9a23c
Add basic type checking to parameters
2017-05-01 17:09:15 -07:00
Luke Campagnola
20e821c45e
Merge pull request #478 from campagnola/HashSplat-develop
...
Fix QImage memory leak with PySide + Python3
2017-05-01 11:31:42 -07:00
Luke Campagnola
f6819dda28
Add comments explaining hack
2017-05-01 11:09:50 -07:00
Luke Campagnola
8f9094b3bd
Merge pull request #476 from campagnola/scatterplot-composition
...
Add option to set composition mode for scatterplotitem
2017-05-01 10:28:12 -07:00
Luke Campagnola
c44afa492a
Merge pull request #477 from campagnola/fix-intcolor-value
...
Fix value stepping in intColor
2017-05-01 10:27:30 -07:00
Luke Campagnola
d73036e0ef
Merge pull request #475 from campagnola/fix-svg-unicode-export
...
Fixed unicode error when exporting to SVG with non-ascii symbols
2017-05-01 10:24:07 -07:00
Luke Campagnola
e0e0877168
Add documentation
2017-05-01 10:22:27 -07:00
Luke Campagnola
3f34ea12d8
Fix value stepping in intColor
2017-05-01 09:45:09 -07:00
Luke Campagnola
24116342c2
Add option to set composition mode for scatterplotitem
2017-05-01 09:43:16 -07:00
Luke Campagnola
d36a161f31
Fixed unicode error when exporting to SVG with non-ascii symbols
2017-05-01 09:34:37 -07:00
Justin Engel
c247aa3989
Fixed PySide image memory leak
...
PySide has a known memory leak issue when using QImage. It does not handle the reference counter correctly. I manually adjusted the reference counter to the data as suggested in a bug report by Neil Whelchel. This bug report can be found at https://bugreports.qt.io/browse/PYSIDE-140
2017-04-11 10:32:43 -04:00
ZacDiggum
d4bff30f11
fix image export bug
...
fixes #454
2017-03-07 10:34:48 +01:00
Luke Campagnola
dd5a8bf9d1
Merge pull request #436 from campagnola/fft-test
...
Add unit test covering plotdataitem fft
2017-02-05 23:29:41 -08:00
Luke Campagnola
f632b02985
Add unit test covering plotdataitem fft
2017-02-05 23:13:00 -08:00
Luke Campagnola
154b6bacb1
Merge pull request #429 from pijyoi/fixfftslice
...
fix fft premature slicing away of 0 freq bin
2017-02-03 02:25:05 -08:00
KIU Shueng Chuan
4553b55f73
python2 compat: don't assume true division
2017-01-20 09:09:18 +08:00
KIU Shueng Chuan
0a8d5b253a
fix: freq coords need to take into account x-coords spacing
2017-01-18 09:02:53 +08:00
KIU Shueng Chuan
12f6bf916f
fix fft premature slicing away of 0 freq bin
...
also fixes:
- use rfft for better efficiency
- use rfftfreq to compute coords correctly
- works for both odd/even lengths
- python3: integer division needed for numpy indexing
2017-01-17 22:04:05 +08:00
Luke Campagnola
f26b4ec3c7
Merge pull request #425 from james1293/develop
...
Removed unnecessary 'curve1' from 'global'
2017-01-14 22:17:34 -08:00
Luke Campagnola
fab19b7ad4
Merge pull request #424 from colinba/develop
...
Fix crash when running pyqtgraph with python -OO
2017-01-14 11:27:19 -08:00
Luke Campagnola
504c35202a
Merge pull request #410 from campagnola/spinbox-formatting
...
Spinbox formatting
2017-01-14 11:09:51 -08:00
Luke Campagnola
6e01f74990
Merge pull request #414 from campagnola/canvas-fixes
...
Fix canvas classes for PyQt5 and PySide
2017-01-14 11:09:02 -08:00
Luke Campagnola
7b20b33a06
Merge pull request #415 from campagnola/fix-getarrayregion
...
Fix getarrayregion
2017-01-14 11:08:38 -08:00
james1293
b131785b86
Removed unnecessary 'curve1' from 'global'
2017-01-06 23:21:31 -05:00
Colin Baumgarten
b420099bd5
Fix crash when running pyqtgraph with python -OO
...
Running pyqtgraph with python -OO gives the following crash
colin@desktop:~$ python3 -OO -c 'import pyqtgraph'
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "/usr/local/lib/python3.5/dist-packages/pyqtgraph/__init__.py", line 216, in <module>
from .graphicsItems.HistogramLUTItem import *
File "/usr/local/lib/python3.5/dist-packages/pyqtgraph/graphicsItems/HistogramLUTItem.py", line 10, in <module>
from .GradientEditorItem import *
File "/usr/local/lib/python3.5/dist-packages/pyqtgraph/graphicsItems/GradientEditorItem.py", line 354, in <module>
class GradientEditorItem(TickSliderItem):
File "/usr/local/lib/python3.5/dist-packages/pyqtgraph/graphicsItems/GradientEditorItem.py", line 480, in GradientEditorItem
@addGradientListToDocstring()
File "/usr/local/lib/python3.5/dist-packages/pyqtgraph/graphicsItems/GradientEditorItem.py", line 30, in dec
fn.__doc__ = fn.__doc__ + str(Gradients.keys()).strip('[').strip(']')
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
The cause is the @addGradientListToDocstring() annotation in
GradientEditorItem.py that cannot handle functions without docstrings as
produced when using the python -OO option.
Fix this by only adding the gradient list to the docstring if the docstring is
not None.
2017-01-04 21:48:00 +01:00
Luke Campagnola
fe90f46bdd
Merge pull request #408 from ales-erjavec/cleanup-qgraphics-scene-init
...
Fix `cleanup` when the running qt application is not a QApplication
2016-12-14 11:13:31 -08:00
Luke Campagnola
4e7773fa0b
Add scipy to travis requirements--some unit tests require this
2016-12-14 11:02:40 -08:00
Luke Campagnola
183ca1f5d2
Merge pull request #413 from campagnola/pg-release-fixes
...
Fixes to --publish option in pg-release script
2016-12-14 10:49:36 -08:00
Luke Campagnola
870a61d2ae
Merge pull request #416 from campagnola/fix-travis-ioerror
...
Add print wrapper to work around interrupted system calls on travis
2016-12-14 10:35:24 -08:00
Luke Campagnola
24b288a05a
really actually fix
2016-12-14 10:19:01 -08:00
Luke Campagnola
8d85b87d71
py3 fix
2016-12-14 10:14:11 -08:00
Luke Campagnola
8fc98a6a0b
Add print wrapper to work around interrupted system calls on travis
2016-12-14 10:07:16 -08:00
Luke Campagnola
f057c712af
Merge branch 'develop' into ccf-viewer-fixes
2016-12-14 08:35:33 -08:00
Luke Campagnola
de0ee32a20
minor doc / test edits
2016-12-09 10:20:19 -08:00
Luke Campagnola
95de07b48a
Merge remote-tracking branch 'lidstrom83/SpinBox_wrapping' into spinbox-formatting
2016-12-09 10:07:28 -08:00