Commit Graph

2946 Commits

Author SHA1 Message Date
Ogi Moore
04114fa126
Merge pull request #968 from ecejeff/unit-label-fix
Fix for AxisItem using old scale to create label
2019-07-01 07:01:05 -07:00
Ogi Moore
d7cb60441c
Merge pull request #971 from fernandohds564/PR-fix-SignalProxy
Fix method disconnect of SignalProxy class.
2019-07-01 06:59:39 -07:00
Kenneth Lyons
df0467961e Install pytest-faulthandler for py27 and add timeout 2019-06-30 13:36:29 -07:00
Kenneth Lyons
98e66a855e Remove pytest-faulthandler from test dependencies 2019-06-30 12:05:57 -07:00
2xB
a4cecf4a22 Call parent __init__ as soon as possible for CtrlNode 2019-06-30 17:50:11 +02:00
Fernando
caf7378f38 FIX: fix disconnect method of SignalProxy class. 2019-06-28 10:59:03 -03:00
Billy SU
23b4e174f0 Add Dock test and remove outdated comments (#659)
* Add test for Dock closable arg

* Remove outdated and debug comments

* Add test for hideTitle dock
2019-06-27 21:51:54 -07:00
Ogi Moore
f4be4efdaa
Merge pull request #969 from 2xB/fix-252
Corrected documentation for heightColor shader
2019-06-27 21:17:43 -07:00
2xB
c37956b29a Corrected documentation for heightColor shader 2019-06-28 01:51:20 +02:00
Ogi Moore
18bfee3462
Merge pull request #333 from ombschervister/legend_fix
fix legendItem drag
2019-06-27 14:44:55 -07:00
Jeffrey Nichols
d9f0da5a7c
Fix for AxisItem using old scale to create label 2019-06-27 14:45:37 -04:00
Ogi Moore
82d690e08d
Merge pull request #321 from espdev/fix-issue316
Fixing the border rect overlapping for ViewBox and GraphicsLayout
2019-06-26 22:33:21 -07:00
Ogi Moore
7f327329f4
Merge pull request #840 from OE-FET/patch-3
Clipping: don't assume that x-values have uniform spacing
2019-06-26 22:29:31 -07:00
Ogi Moore
db20067e72
Merge pull request #966 from j9ac9k/skip-opengl-macos-py27-qt4
Skip GL* examples if on macOS with python2 and qt4 bindings
2019-06-26 09:48:13 -07:00
Ogi Moore
78df356c74
Merge pull request #962 from j9ac9k/ixjlyons-fix-exit-oserror
fix-exit-oserror
2019-06-26 00:00:50 -07:00
Ogi Moore
f4a5ca0122
Merge pull request #963 from ixjlyons/fix-298
Allow last image in stack to be selected by slider in ImageView
2019-06-26 00:00:06 -07:00
Kenneth Lyons
26963ffbc4 Fix pg.exit test in case pyqtgraph is not installed 2019-06-25 23:20:28 -07:00
Ogi
fe637512b5 Skip GL* examples if on macOS with python2 and qt4 bindings, and update readme 2019-06-25 23:05:38 -07:00
Ogi Moore
650b551b7a
Merge pull request #965 from j9ac9k/fix-964
Preventing conda from updating in CI builds
2019-06-25 22:45:45 -07:00
Ogi
a04d31731d Preventing conda from updating 2019-06-25 22:06:36 -07:00
Kenneth Lyons
55d9e8888b Allow last image in stack to be selected by slider in ImageView 2019-06-25 16:46:01 -07:00
Dschoni
cd2b16dbae
Merge pull request #782 from spauka/fix_fforward_spin
Terminate FileForwarder thread on process end
2019-06-25 17:04:53 +02:00
Ogi Moore
f3ab88001d
Merge pull request #960 from ixjlyons/fix-busycursor-pyside
Work around PySide setOverrideCursor bug in BusyCursor
2019-06-24 16:04:37 -07:00
Kenneth Lyons
8067ee25d5 Work around PySide setOverrideCursor bug in BusyCursor 2019-06-24 15:39:12 -07:00
fake-name
8fa6410382 Moar dumb typos. I managed to totally bugger up the rebase. 2019-06-24 14:14:04 -07:00
fake-name
14925b7fe3 Gah, forgot to add this. 2019-06-24 14:11:54 -07:00
fake-name
3f71276ac3 Fix more mkPen invocations that got added for some reason. 2019-06-24 14:02:19 -07:00
fake-name
18999c2ca1 Consolidate to simpler get is not none check. 2019-06-24 14:01:53 -07:00
Connor Wolf
17e90af36c Avoid constructing shadow pens when no shadow pen is set
Basically, profiling has pointed me to the fact that a fair bit of code time is spent in `setShadowPen()` (actually, it's in `mkPen()`, which `setShadowPen()` calls), even when no shadow pen is specified.

In my application, I'm calling `pyqtgraph.PlotDataItem.setdata()`, which calls through PlotDataItem->setData, PlotDataItem->updateItems. At some point in the call stack, the default value for `shadowPen` is being inserted into the kwargs, which then causes the specious calling of setShadowPen.

Anyways, if we check if shadowPen is a value other then none, this doesn't happen.
2019-06-24 14:01:17 -07:00
Ogi Moore
a4fe86a52d
Merge pull request #956 from ixjlyons/fix-exit-oserror
Handle invalid file descriptor in exit
2019-06-24 11:15:11 -07:00
Kenneth Lyons
c210795cac Add test for exit function 2019-06-24 10:47:35 -07:00
Sam Schott
d870a34359 add a test for clipping 2019-06-24 14:49:32 +01:00
Eugene Prilepin
1955ae024c Fix: object has no attribute 'border' 2019-06-24 16:36:23 +03:00
Eugene Prilepin
001390c160 Bugfix: GraphicsLayout border drawing
- Fixed border overlapping (issue #316)
2019-06-24 16:21:00 +03:00
Eugene Prilepin
b491f82006 Bugfix: ViewBox border drawing
- Fixed border overlapping (issue #316)
- Added new method ViewBox.setBorder to complete API
2019-06-24 16:21:00 +03:00
Sam Schott
262004e2ec Merge remote-tracking branch 'upstream/develop' into patch-3 2019-06-24 13:54:08 +01:00
Sam Schott
f23889d594 only use np.searchsorted quicker method fails 2019-06-24 13:53:00 +01:00
Ogi Moore
7506ee3d3f
Add mesa drivers to windows CI images and show openGL info during debug stage (#954)
Add mesa drivers to Windows CI Image
2019-06-23 23:03:51 -07:00
Ogi Moore
053fca6e83
Revert "_updateMaxTextSize to reduce text size when no longer needed (#838)" (#957)
This reverts commit 0ba07300e1.
2019-06-23 21:41:20 -07:00
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
edf2942010 Replaced usage of deprecated ROI classes in example (#946) 2019-06-21 21:19:02 -07:00
2xB
781e129725 Fix deprecation warning of multi-dimensional tuples (#947) 2019-06-21 21:18:12 -07:00