Commit Graph

1307 Commits

Author SHA1 Message Date
SamSchott
0ba07300e1 _updateMaxTextSize to reduce text size when no longer needed (#838)
Currently `_updateMaxTextSize ` will increase the current space required for axis labels, if necessary, but not decrease it when the extra space is no longer needed. The proposed change will release no longer needed space again.
2019-06-23 18:10:35 -07:00
Daniel Hrisca
297e1d95a5 avoid double call to mkPen when creating PlotCurveItem objects (#817)
* avoid double call to mkPen when creating PlotCurveItem objects

* avoid unnecessary calls to mkPen in paint
2019-06-23 17:30:40 -07:00
SamSchott
3e7cace746 tickSpacing bug fix (#836)
Fixed a bug where `tickSpacing()` would return `None` if `style['maxTickLevel'] < 2`, resulting in the axis not being drawn.
2019-06-23 17:27:16 -07:00
SamSchott
1b6537b241 Curve fill: draw line around patch (#922) 2019-06-23 17:07:55 -07:00
Ben Mathews
dea8a86dfd Fixes https://github.com/pyqtgraph/pyqtgraph/issues/950 (#951)
Moving a scale handle on a ROI object does not fire a sigRegionChangeStarted signal.  This patch adds the signal emit to handleMoveStarted().
2019-06-23 17:05:11 -07:00
2xB
e510971d71 RotateFree handle now rotates freely (Code by alguryanow) (#952) 2019-06-23 17:01:32 -07:00
Kenneth Lyons
563083cf86 Handle invalid file descriptor in exit 2019-06-23 12:14:52 -07:00
Kenneth Lyons
9653254094 Fix infinite scale in makeARGB (#955) 2019-06-23 09:38:48 -07:00
2xB
9500f4db01 Allow multiline parameters in configparser (#949)
* FIX: Exception.message does not exist in Python3

* FIX: Allow multiline configfile parameters

* Added configparser tests

* Reasonable file ending for test files
2019-06-22 22:17:14 -07:00
2xB
781e129725 Fix deprecation warning of multi-dimensional tuples (#947) 2019-06-21 21:18:12 -07:00
Ogi Moore
132f417f72
Merge pull request #935 from 2xB/addLine-fix70
PlotItem.addLine now accepts 'pos' and 'angle' parameters
2019-06-20 09:18:57 -07:00
Ogi Moore
2f4ac51a11
Check if items having events sent to are still in the scene (#919)
Check if items having events sent to are still in the scene
2019-06-19 22:08:54 -07:00
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
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
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 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
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
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
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
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
Ogi
aa63c07523 Show available desktop resolution 2019-05-28 22:57:12 -07:00
Ogi
e8854d69bb Capture Screenshots 2019-05-28 22:57:12 -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
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
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
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
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
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
ALLENINST\stephanies
bafe1b4b74 group all defaults into one argument 2019-03-08 12:00:21 -08:00
ALLENINST\stephanies
fb098e9cdc add option to set other field variables in ColorMapWidget 2019-03-06 12:42:22 -08:00
Thomas A Caswell
da1bf54ec8
MNT: use raw for regular expression 2019-02-14 16:41:54 -05:00
Thomas A Caswell
0649ff8f3c
MNT: do not use 'is not' on literal
py38 raises a SyntaxWarning on this
2019-02-14 16:41:06 -05:00
Thomas A Caswell
4fe90bb215
MNT: escape docstrings that have rst escaping in them 2019-02-14 16:39:45 -05:00
Thomas A Caswell
691da09eb0
MNT: do not use 'is' with literals, use ==
py3.8 gives a syntax warning on this
2019-02-14 16:36:02 -05:00
ronpandolfi
e2ca71a65c Fix for PySide2; QtCore.QPoint.__sub__ no longer works with tuples 2019-02-01 19:44:54 -08:00
danielhrisca
82d2b757e4 speed up AxisItem __init__ 2019-01-18 10:32:10 +02:00
Sara Zanzottera
e4681b7201 Fix issue #811 2019-01-17 11:19:16 +01:00
danielhrisca
5a53539be0 enforce enableMenu in ViewBox 2019-01-16 17:04:59 +02:00
danielhrisca
b575b56edf avoid calling setLabel repeatedly for AxisItem 2019-01-16 16:44:00 +02:00
Luke Campagnola
2e69b9c5e6 Add changelog entry and credit for previous PR 2018-11-09 07:18:36 -08:00
Luke Campagnola
753c291bcd
Merge pull request #446 from WFrsh/develop
Included matplotlib 2.0 colormaps
2018-11-09 07:08:39 -08:00
Sebastian Pauka
482dd2ee33 Terminate FileForwarder thread on process end
Previously on windows the FileForwarder threads would
continue to run and eat up a lot of CPU once the child process
they were forwarding dies. This commit shuts down those threads
when the child process is killed.
2018-10-30 10:22:49 +11:00
Luke Campagnola
4285785985 Revert "Fixed AxisMouse drag issue"
The original change breaks mouse dragging directly on the axis

This reverts commit 9bfdda06a6.
2018-10-29 10:59:11 -07:00
Tran Duy Hoa
16616c77b7
Fix bug in GLViewWidget.py
call debug.printExc() instead of pyqtgraph.debug.printExc()
2018-10-26 23:06:23 +02:00
2xB
0f149f38c2
No warning for arrays with zeros in logscale
NumPy evaluates log10(0) to -inf, so there is no reason to show the user a RuntimeWarning. Before, if visualizing data arrays containing zeros in logscale, a RuntimeWarning was shown.
2018-10-14 18:49:03 +02:00
Stefan Ecklebe
fc5e0cd9f4 Fixed issue #481 2018-10-12 15:32:23 +02:00
Luke Campagnola
e62889d095
Merge pull request #763 from hhslepicka/fix_downsampling
FIX: Protection over downsampling calculation.
2018-10-11 16:09:23 +03:00
Jim Crowell
d261c2f0f2 fixed bug in graphicsItems/ImageItem.py: degenerate images (max==min) would raise exception in getHistogram() 2018-10-10 10:29:16 -04:00
Ezequiel (gac-esbmx) Panepucci
d550473ba7 import python2_3 for basestring 2018-10-09 09:37:04 +02:00
Hugo Slepicka
984eb5ed29 FIX: Protection over downsampling calculation. 2018-10-05 14:18:09 -07:00
Luke Campagnola
574c5f3a47
Merge pull request #565 from justengel/axis_mouse_drag
Fixed AxisItem mouse drag issue
2018-09-28 16:02:29 -07:00
Luke Campagnola
6b26245e50
Add explanatory comment 2018-09-28 16:02:14 -07:00
Luke Campagnola
efaf61f711
Merge pull request #541 from justengel/image_render_error
ImageItem render error if graph is too small.
2018-09-28 15:38:02 -07:00
Luke Campagnola
cce7a83e85
Merge pull request #530 from justengel/plot_item_update
Fixed issue where setData only updated opts if data is given
2018-09-28 15:35:27 -07:00
Luke Campagnola
839ad486f8 Flush shared memory file before attempting to map
This avoids the error "ValueError: mmap length is greater than file size"
on OSX. (see #730)
2018-09-11 07:14:28 -07:00
Luke Campagnola
f1b51027cc Fix error in ViewBox wheelEvent when mouse has 2-axis wheel events 2018-07-30 11:36:08 -07:00
Mikhail Terekhov
b13062f081 In PlotDataItem.clear() use corresponding curve.clear() and scatter.clear()
Otherwise when stepMode is True curve.setData([]) causes exception:
"len(X) must be len(Y)+1 ..."
2018-07-28 10:18:26 -04:00
Mikhail Terekhov
c238be004e add test case for the PlotDataItem.clear() in stepMode 2018-07-28 10:18:26 -04:00
Luke Campagnola
240889c460
Merge pull request #735 from campagnola/fix-exit-error
Fix exit error caused by callback invoked during Qt teardown
2018-07-26 09:37:47 -07:00
Luke Campagnola
6826e2615c Fix exit error caused by callback invoked during Qt teardown 2018-07-25 10:07:24 -07:00
David Nadlinger
fe7e1775da AxisItem: Fix tick elision with self.scale set
Previously, only the highest level ticks would be displayed
for e.g. scale = 1e3.
2018-07-11 15:31:29 +01:00
Luke Campagnola
ada79bffde
Merge pull request #718 from ales-erjavec/svg-export-exposed-rect
SVGExport: Initialize option.exposedRect for items that use it
2018-07-10 15:44:27 -07:00
Luke Campagnola
c3f612d6ca
Merge pull request #717 from campagnola/console-thread-exceptions
Make console handle exceptions from non-gui threads a little more carefully
2018-07-10 15:03:15 -07:00
Luke Campagnola
585390e16e fix: mouse wheel on viewbox leaves autorange unaffected if mouse is disabled for one axis 2018-07-10 05:23:53 -07:00
Ales Erjavec
56950479f9 SVGExport: Initialize option.exposedRect for items that use it 2018-07-06 15:53:28 +02:00
Luke Campagnola
f3583ed338 Make console handle exceptions from non-gui threads a little more carefully 2018-07-03 13:43:28 -07:00
Luke Campagnola
08349351da Fix QString handling 2018-06-22 17:31:58 -07:00
Luke Campagnola
3fd56eb195 Handle Qt4/5 API difference in filedialog 2018-06-22 17:26:31 -07:00
Luke Campagnola
c4a5ffa01c
Merge pull request #713 from campagnola/console-scrolling
Console scrolling
2018-06-20 13:13:23 -07:00
Luke Campagnola
b9f6a28884 Add ConsoleWidget.write(scrollToBottom) argument 2018-06-20 13:02:39 -07:00
Luke Campagnola
f2baf31d51 Fix console input up/down arrows
In some cases, pressing down past the end of the command history would not clear the input
2018-06-20 13:01:52 -07:00
Luke Campagnola
929123ff46 avoid repeated signal emission in filterwidget 2018-06-18 13:54:43 -07:00
Luke Campagnola
7bfc5106b2 Merge branch 'roi-mouse-interaction' into develop 2018-06-18 13:52:38 -07:00
Luke Campagnola
6a170519bf minor edits 2018-06-18 13:52:16 -07:00
Luke Campagnola
00cccb556d
Merge pull request #710 from campagnola/roi-mouse-interaction
Roi mouse interaction
2018-06-15 20:30:37 -07:00
Luke Campagnola
060d2479f9 minor fixes 2018-06-15 14:18:38 -07:00
Luke Campagnola
e78693631b Implement handle-free scale/rotation mouse interaction for ROI 2018-06-15 13:36:33 -07:00
Luke Campagnola
2d2e548f8e delegate ROI mouse drag handling to a separate class 2018-06-15 11:21:17 -07:00
Luke Campagnola
f1af0e065e
Merge pull request #707 from campagnola/plotitem-refactor
Plotitem refactor
2018-06-13 17:31:10 -07:00
Luke Campagnola
7be7c3f459 More PlotItem cleanup 2018-06-08 08:43:46 -07:00
Luke Campagnola
7358664414 Merge branch 'Refactor' of https://github.com/Billy4195/pyqtgraph into Billy4195-Refactor 2018-06-07 19:06:44 -07:00
Luke Campagnola
a38d2282cc
Merge pull request #657 from edbarnard/floating-dock-close
When a floating Dock window is closed, the dock is now returned home
2018-06-07 18:02:31 -07:00
Luke Campagnola
8dea72d03d
Merge pull request #705 from campagnola/fix-parameter-opts
Don't store `children` key in Parameter.opts
2018-06-07 17:56:09 -07:00
Luke Campagnola
c20022580d move panning code from mouse handler to pan() 2018-06-07 17:49:42 -07:00
Luke Campagnola
741e65c72e Merge branch 'panning' of https://github.com/dvj/pyqtgraph into dvj-panning 2018-06-05 15:25:52 -07:00
Luke Campagnola
937e3420e2 Don't store children key in Parameter.opts (closes #494, fixes #493) 2018-06-05 15:20:15 -07:00
Luke Campagnola
01c349e14b
Merge pull request #698 from polwel/issue-697
Fix issue #697
2018-06-01 21:39:02 -07:00
Pol Welter
d35991ec37 Fix issue #699
Nan in image data not handled properly
2018-06-01 15:05:14 +02:00
Pol Welter
a48a3776be Fix issue #697 2018-06-01 10:31:47 +02:00
Luke Campagnola
70398f7098 PR 693: Fix color handling in GLLinePlotItem
Merge branch 'koltafrickenfer-develop' into develop
2018-05-31 10:39:27 -07:00
Luke Campagnola
8a5c66f25e Allow strings to specify color of GLLinePlot 2018-05-31 10:36:04 -07:00
Luke Campagnola
0a17c2eb60 Merge branch 'develop' of https://github.com/koltafrickenfer/pyqtgraph into koltafrickenfer-develop 2018-05-31 10:30:11 -07:00
Luke Campagnola
c582fab9c6
Merge pull request #696 from campagnola/scatter-stepmode
Fix error when using PlotDataItem with both stepMode and symbol
2018-05-31 09:13:01 -07:00
Luke Campagnola
7792000abb
Merge pull request #661 from Billy4195/improve_test
Improve test
2018-05-30 19:03:28 -07:00
Luke Campagnola
de9007d9c4 Fix error when using PlotDataItem with both stepMode and symbol 2018-05-30 18:54:31 -07:00
Luke Campagnola
349625c875 Update version string to 0.11.0.dev0 and handling in setup
Merge commit '1a3a0a70930b' into version-update
2018-05-30 08:53:32 -07:00
kolt mcbride
e5079bca32 this import seems to be missing, I couldn't set color with out it for some reason 2018-05-24 22:06:27 -07:00
Luke Campagnola
0af4706024
Merge pull request #635 from campagnola/pyside2
WIP: PySide2 support
2018-05-24 17:14:11 -07:00
Luke Campagnola
86b2006d46 Fix transform3D for pyside2 2018-05-23 21:30:02 -07:00
Luke Campagnola
66dcfc7c67 Merge branch 'develop' into pyside2 2018-05-22 15:22:54 -07:00
Luke Campagnola
8da208b914 flip pyside2 template line endings 2018-05-17 09:02:41 -07:00
Luke Campagnola
43d965e554
Merge pull request #690 from campagnola/py3-cleanup
Py3 cleanup
2018-05-17 08:44:56 -07:00
Luke Campagnola
c390c5cd98 fix lru_cache 2018-05-16 08:33:51 -07:00
Luke Campagnola
1f380c93c1 fix itervalues 2018-05-15 16:37:58 -07:00
Luke Campagnola
a86ab30578 fix iteritems 2018-05-15 16:37:20 -07:00
Luke Campagnola
cd2125cccb fixes #687 2018-05-15 14:24:52 -07:00
Luke Campagnola
a8610bfb43 Add option to set enum default values in DataFilterWidget 2018-05-09 10:57:42 -07:00
danielhrisca
1a3a0a7093 update version for new development 2018-05-08 10:02:06 +03:00
Luke Campagnola
9460b746fa Allow data filter entries to be updated after they are created 2018-05-04 14:17:14 -07:00
Luke Campagnola
11463c5a0b Fix: mkQApp returned None if a QApplication was already created elsewhere 2018-05-04 11:42:37 -07:00
Luke Campagnola
120d49b0f3 Merge branch 'develop' of https://github.com/pyqtgraph/pyqtgraph into develop 2018-05-03 15:30:33 -07:00
Luke Campagnola
0fd0f08384 Doc updates for datafilterwidget 2018-05-03 15:30:19 -07:00
Luke Campagnola
0ead60e3c9
Merge pull request #677 from dkm/patch-1
typo fix in comment
2018-04-28 12:00:32 -07:00
Luke Campagnola
3ae54bf2c3
Merge pull request #679 from campagnola/overflow-fix
Fix overflow in Point.length()
2018-04-27 19:27:44 -07:00
Luke Campagnola
436fcccf82 Avoid overflow in Point.length by using trig functions or returning inf 2018-04-27 19:07:22 -07:00
Luke Campagnola
a1145b5cbf Fix pytest assertion rewrite conflicting with reload by giving temporary module a different name 2018-04-26 14:43:20 -07:00
Luke Campagnola
6e392c2e0e Fix disconnect test for pyside 2018-04-26 13:49:34 -07:00
Luke Campagnola
986ccb81f4 fix reload import 2018-04-26 13:28:51 -07:00
Luke Campagnola
60a48ed2e4 reload tests pass in python 3 2018-04-26 13:22:47 -07:00
Marc Poulhiès
b64294064f
typo fix in comment
trivial typo fix
2018-04-26 21:57:51 +02:00
Luke Campagnola
bc2c3232e2 Merge branch 'develop' into reload-updates 2018-04-26 11:08:33 -07:00
Doug Johnston
87efc2418a fix whitespace changes 2018-04-26 09:17:00 -07:00
Doug Johnston
972f6205b5 Allow for panning in the plane of the camera
Accessed via <CTRL>-[left click]
2018-04-25 20:06:40 -07:00
Luke Campagnola
748ca554e4
Merge pull request #675 from campagnola/fix-empty-image
Gracefully handle case where image data has size==0
2018-04-25 16:57:43 -07:00
Luke Campagnola
1206981107
Merge pull request #528 from HashSplat/master
Fixed downsample inf image issue
2018-04-25 16:32:02 -07:00
Luke Campagnola
d1794e4e96
Merge pull request #526 from kokokostation/develop
Added essential if.
2018-04-25 16:26:52 -07:00
Luke Campagnola
f8719c436a
Merge pull request #666 from feketeimre/fix
Fix issue #145
2018-04-25 16:17:07 -07:00
Luke Campagnola
54f7495171
Merge pull request #674 from campagnola/parallelizer-fix
Prevent parallelizer leaking file handles
2018-04-25 16:12:35 -07:00
Luke Campagnola
0c1cda4973 Gracefully handle case where image data has size==0 2018-04-25 16:11:25 -07:00
Luke Campagnola
888ed6d55f
Merge pull request #673 from campagnola/int-parameter-format
Change integer parameter formatting
2018-04-25 15:39:35 -07:00
Luke Campagnola
7593d4ea83 fix Profiler when called from top of stack 2018-04-25 15:07:21 -07:00
Luke Campagnola
51267f5696 int parameters use integer formatting 2018-04-25 14:54:35 -07:00
Luke Campagnola
465ea2d940 Prevent parallelizer leaking file handles 2018-04-25 13:22:23 -07:00
Luke Campagnola
58a865e088 Add signal documentation for graphicsscene 2018-04-25 13:19:50 -07:00
Luke Campagnola
43209593c8
Merge pull request #672 from campagnola/busy-cursor-fix
Busy cursor fix
2018-04-25 13:18:20 -07:00
Luke Campagnola
1d1d7bfe1e
Merge pull request #671 from campagnola/svg-export-updates
Svg export updates
2018-04-25 13:05:48 -07:00
Luke Campagnola
7daa5bdff1 Ignore BusyCursor when called from thread 2018-04-25 13:04:52 -07:00
Luke Campagnola
d4a4fd7fd5 fix busy cursor nesting
Prevents permenent busy cursor
2018-04-25 13:04:26 -07:00
Luke Campagnola
c8c3b7521b
Merge pull request #428 from campagnola/datatree-arrays
DataTreeWidget updates
2018-04-25 12:55:52 -07:00
Luke Campagnola
ee2d00c42a Add option to remove non-scaling-stroke from svg output 2018-04-25 12:15:14 -07:00
Luke Campagnola
56aae02821 fix svg export failure when first line point is masked 2018-04-25 11:54:06 -07:00
Luke Campagnola
e61bbeda41 Merge branch 'develop' into datatree-arrays 2018-04-25 11:25:57 -07:00
Luke Campagnola
434d2b8c71 Merge branch 'develop' into scatterplotwidget-updates 2018-04-25 11:16:17 -07:00
Luke Campagnola
cbff3a58d7 Fix scatterplotwidget label color 2018-04-25 11:10:39 -07:00
Luke Campagnola
80ff4ebfe6 Remove prints from console 2018-04-25 08:50:37 -07:00
Luke Campagnola
063e9c91a9 Make high-dpi handling conditional on Qt version 2018-04-24 08:59:33 -07:00
Fekete Imre
ce704a1baa Fix issue #145
Disable textures after painting is finished.
2018-04-13 16:23:41 +02:00
Billy Su
e4254172a5 Add test_clear for PlotDataItem class 2018-04-05 12:24:19 +08:00
Billy Su
7b9ba8634c Add test_setData() for PlotDataItem class 2018-04-05 11:13:09 +08:00
Billy Su
90857e7f27 Extract _choose_filename_dialog() as helper func
To reduce the redundancy, extract the same code as a helper function
_choose_filename_dialog() in PlotItem class
2018-04-05 00:25:36 +08:00
Billy Su
42d96d0c21 Remove outdated comments 2018-04-02 19:26:01 +08:00
Edward Barnard
dc95f76332 When a floating Dock window is closed, the dock is now returned to its original DockArea 2018-03-30 10:29:45 -07:00
Luke Campagnola
82e8194ea4 Merge branch 'hidpi_fix' of https://github.com/mshunshin/pyqtgraph into mshunshin-hidpi_fix 2018-03-30 08:57:16 -07:00
Luke Campagnola
b421cc2790
Merge pull request #553 from HashSplat/legend_remove_item_size
Fixed legend size after remove item
2018-03-29 19:04:24 -07:00
Luke Campagnola
c3dafbfee2
Merge pull request #633 from feketeimre/develop
Cylinder now generates the correct amount of sides
2018-03-29 18:08:22 -07:00
Luke Campagnola
d1c027b87d
Merge pull request #641 from markotoplak/qt5_axis_scale
SVGExporter: fix axes position and scale
2018-03-29 18:03:18 -07:00
Luke Campagnola
980fffbd31
Merge pull request #648 from VanessaNav/fix-color-GLGridItem
fix color ignored in GLGridItem. Issue #283 solved
2018-03-29 17:56:33 -07:00
Luke Campagnola
abddb18a9e
Merge pull request #638 from expectocode/develop
Fix grame typo
2018-03-29 17:53:01 -07:00
Luke Campagnola
f79bd8d4fb svg export fix: more explicit check 2018-03-29 09:06:20 -07:00
Luke Campagnola
e21a4e19b0 Merge branch 'svg' of https://github.com/markotoplak/pyqtgraph into markotoplak-svg 2018-03-29 09:04:56 -07:00
Ales Erjavec
b3a579fd00 ScatterPlotItem: Fix a GC memory leak due to numpy issue 6581 2018-03-29 12:23:59 +02:00
Vanessa
27f37d0fd1 fix color ignored in GLGridItem. Issue #283 solved 2018-03-19 12:09:49 +01:00
Luke Campagnola
96a3d216e2 Make it easier to track data in and out of scatterplotwidget 2018-03-15 11:59:45 -07:00
Matthew Shun-Shin
c8833e1d18
Merge pull request #1 from pyqtgraph/develop
Update to latest
2018-03-12 14:59:57 +00:00
Luke Campagnola
ee0877170d
Merge pull request #645 from campagnola/scatterplotwidget-update
fix: scatterplotwidget behaves nicely when data contains infs
2018-03-09 10:17:05 -08:00
Luke Campagnola
a5276c3bd3 fix: scatterplotwidget behaves nicely when data contains infs
Add methods to make it easier to programatically configure scatterplotwidget
2018-03-08 15:09:36 -08:00
Marko Toplak
c7a32d8311 SVG export: handle Qt.NoPen on Qt5 2018-03-02 09:46:51 +01:00
Marko Toplak
d09fe6bd47 SVGExporter: logicalDpiX instead of physicalDpiX
Fixes problems with non-aligning axes on Qt5 svg exports.  In the output
svg, the axes were (individually) scaled for physical/logical ration.
2018-03-01 15:40:10 +01:00
Tanuj
b25196067a Fix grame typo 2018-02-25 10:54:12 +00:00
Luke Campagnola
e318bc041b Fix isosurface error: TypeError('only integer scalar arrays can be converted to a scalar index',) 2018-02-23 17:50:44 -08:00
Luke Campagnola
3240f7a435 fix qapp storage bug 2018-02-23 17:40:36 -08:00
Luke Campagnola
927fe44ab9 move mkQApp to Qt.py to make it easier to import internally
GraphicsLayoutWidget now calls mkQApp
2018-02-23 17:34:15 -08:00
Luke Campagnola
82afad8366 Fix up Qt.py and deprecate USE_XX variables 2018-02-16 20:42:34 -08:00
Luke Campagnola
46f10f24f8 Merge branch 'develop' of https://github.com/maxpeng/pyqtgraph into maxpeng-develop 2018-02-15 18:30:12 -08:00
Luke Campagnola
ae2f0c155f deprecate graphicsWindow classes 2018-02-14 09:06:35 -08:00
Luke Campagnola
6562dfc892 minor doc fix 2018-02-13 17:29:33 -08:00
Fekete Imre
f3d5273f81 Cylinder now generates the correct amount of sides
Before the first and the last vertex was overlapping.
2018-02-07 14:25:15 +01:00
Luke Campagnola
5e4d51b5cd
Merge pull request #626 from feketeimre/develop
Fix issue # 366
2018-02-05 08:52:01 -08:00
Luke Campagnola
4ed09ebdf1
Merge pull request #627 from campagnola/console-stack-py3
Fix ConsoleWidget to work with changed stack format in python 3.5
2018-02-01 12:06:48 -08:00
Luke Campagnola
9bff2b23fb Add a signal for detecting scatter plot point clicks in ScatterPlotWidget 2018-02-01 11:43:46 -08:00
Luke Campagnola
a17d4a6e15 Fix ConsoleWidget to work with changed stack format in python 3 2018-02-01 11:42:01 -08:00
Fekete Imre
8d9cb79da4 Fix issue # 366
Set the right texture for rendering, otherwise a previously set texture is overwritten.
2018-01-31 23:35:18 +01:00
Luke Campagnola
e65ab3faa5 Merge branch 'sem-geologist-fix_dark_theming' into develop 2018-01-31 08:46:32 -08:00
Luke Campagnola
2b0559fd75 adjust group parameter fg color 2018-01-31 08:44:09 -08:00
Luke Campagnola
463a0dd6e4 Merge branch 'fix_dark_theming' of https://github.com/sem-geologist/pyqtgraph into sem-geologist-fix_dark_theming 2018-01-30 17:18:35 -08:00
Luke Campagnola
deebc80fce
Merge pull request #577 from acburigo/patch-1
BarGraphItem can plot horizontal bars.
2018-01-30 17:14:14 -08:00
Luke Campagnola
a06ca1df29
Merge pull request #600 from miranis/patch-2
Update ImageItem.py
2018-01-29 20:36:09 -08:00
Luke Campagnola
8ea3add281
Merge pull request #616 from gram526/patch-1
Play image along 't' axis instead of first axis
2018-01-29 18:59:54 -08:00
Terekhov
b6838eb8c4 Use symbol id for a key in SymbolAtlas
Add test on a custom symbol for ScatterPlotItem.
In PyQt5 QPainterPath is not hashable anymore which causes SymbolAtlas to
fail accept it as a custom symbol, use id instead.
2018-01-28 18:10:39 -05:00
Luke Campagnola
85695b659c
Merge pull request #566 from acq4/arrowitem-rotation
ArrowItem: rotate painterpath instead of the item
2018-01-26 08:59:41 -08:00
Luke Campagnola
870c047d30
Merge pull request #621 from campagnola/rgb-histogram
Rgb histogram
2018-01-26 08:52:10 -08:00
Luke Campagnola
677d9fa4b4
Merge pull request #597 from campagnola/fractal-demo
Add an interactive fractal demo
2018-01-25 08:59:28 -08:00
Luke Campagnola
6773449e43
Merge pull request #620 from campagnola/fix-spinbox-units
Fix spinbox units
2018-01-25 08:47:07 -08:00
Luke Campagnola
019c421ca1 Don't attempt to set same level mode again 2018-01-24 17:48:03 -08:00
Luke Campagnola
a812d802da Fix bug when spinbox units begin with an SI prefix (like 'PSI') 2018-01-24 09:12:10 -08:00
Luke Campagnola
0653c8ec59 Add example and test demonstrating spinbox bug 2018-01-24 09:11:42 -08:00
Luke Campagnola
09aa198731 Add top level stack() function for debugging 2018-01-24 09:06:37 -08:00
Luke Campagnola
52754d4859 fix __getattr__ handling in PlotWindow 2018-01-24 09:06:05 -08:00