Commit Graph

543 Commits

Author SHA1 Message Date
Luke Campagnola
7a0dfd768a Cleanup: add docstrings and setter methods to InfLineLabel, remove unused code 2016-02-22 00:23:36 -08:00
Luke Campagnola
a72fec51b1 Merge branch 'infline-labels' into infiniteline-tests
Conflicts:
	pyqtgraph/graphicsItems/InfiniteLine.py
2016-02-22 00:06:04 -08:00
Luke Campagnola
170592c294 update example 2016-02-21 23:28:24 -08:00
Luke Campagnola
f3a584b8b7 label correctly follows oblique lines 2016-02-21 23:18:01 -08:00
Luke Campagnola
069a5bfeea Labels can rotate with line 2016-02-21 00:17:17 -08:00
Luke Campagnola
a8510c3354 clean up textitem, fix anchoring 2016-02-19 09:33:47 -08:00
Luke Campagnola
5172b782b5 Added inflinelabel class, label dragging and position update works.
Update to TextItem to allow mouse interaction
2016-02-19 00:41:42 -08:00
lesauxvi
010cda004b correction of a bug regarding the exact placement of the label 2016-02-17 07:03:13 +01:00
lesauxvi
5888603ebf addition of a draggable option for infiniteline 2016-02-16 08:14:53 +01:00
lesauxvi
ba4b648263 addition of a convenient method for handling the label position 2016-02-16 06:48:59 +01:00
lesauxvi
de24d6db6a correction of the text location bug 2016-02-16 06:36:41 +01:00
lesauxvi
6fc4e1a611 renaming of a method for better consistency 2016-02-15 07:11:22 +01:00
lesauxvi
e7b27c2726 text location algorithm simplification 2016-02-05 13:57:51 +01:00
lesauxvi
0be3615c88 docstring correction 2016-02-05 11:54:00 +01:00
Luke Campagnola
52863064de Merge remote-tracking branch 'henesissrl/infinite_line_speedup' into infiniteline-tests 2016-02-05 01:18:34 -08:00
Luke Campagnola
4a3525eafd infiniteline tests pass 2016-02-05 00:55:34 -08:00
Luke Campagnola
ad8e169160 infiniteline API testing 2016-02-05 00:12:21 -08:00
Luke Campagnola
c1de24e825 add hover tests 2016-02-03 23:17:40 -08:00
Luke Campagnola
2b9f613eab Added unit tests checking infiniteline interactivity 2016-02-03 23:13:58 -08:00
lesauxvi
aec6ce8abb infinite line performance improvement 2016-02-04 03:28:59 +01:00
lesauxvi
51b8be2bd1 Infinite line extension 2016-02-03 12:52:01 +01:00
Alessandro Bacchini
98ff70e8a0 Improve drawing performance by caching the line and bounding rect. 2016-02-02 15:31:48 +01:00
lesauxvi
07f610950d creation of a combined method for handling the label location 2016-02-01 11:17:36 +01:00
Luke Campagnola
fd76443458 Merge pull request #273 from campagnola/numpy-fix
Corrections for numpy API changes
2016-01-30 13:37:41 -08:00
Luke Campagnola
ee3e6212fa correction for catch_warnings on python 3 2016-01-30 12:26:23 -08:00
Luke Campagnola
d308d45153 avoid numpy warnings when indexing with floats 2016-01-30 12:20:05 -08:00
Luke Campagnola
3f03622a02 fix isosurface/isocurve for numpy API change 2016-01-30 10:06:58 -08:00
Luke Campagnola
2a80205dd4 ImageItem bugfix 2016-01-30 09:52:37 -08:00
Luke Campagnola
f279988916 suppress numpy futurewarning
cleanups in arraytoqpath
2016-01-30 09:08:05 -08:00
Luke Campagnola
586de3176e Merge remote-tracking branch 'pyqtgraph/develop' into u55-u55-patch-1 2016-01-30 00:54:29 -08:00
Luke Campagnola
a41f3c362c fix case where connect is ndarray 2016-01-30 00:53:49 -08:00
Luke Campagnola
70482432b8 Improve ImageItem performance by scaling LUT instead of image when possible.
Moved eq function from flowcharts to main function library to support this.
Bonus: fixed a flowchart bug (backspace deletes wrong connector) while I was in there.
2016-01-30 00:10:25 -08:00
Luke Campagnola
4be2869773 corrections and cleanups for functions.makeARGB
added unit test coverage
2016-01-29 23:11:01 -08:00
Luke Campagnola
e2f43ce4be simplify makeARGB: remove float support (this was never functional anyway)
remove rescale->lut optimization; this should be done in ImageItem instead.
2016-01-25 18:32:37 -08:00
lesauxvi
ce36ea4eb6 Infiniteline enhancement 2016-01-15 16:10:24 +01:00
u55
2f2975212f Fix Numpy FutureWarning. Try again. 2016-01-11 23:30:23 -07:00
u55
2c415a8b03 Fix Numpy FutureWarning.
Don't accidentally compare an array to string. Fixes issue #243.
2016-01-11 23:02:12 -07:00
Luke Campagnola
99aa4cfdd3 Performance improvements for makeARGB. Also adding unit tests.. 2016-01-10 23:08:19 -08:00
Luke Campagnola
9e8c2082ed Merge pull request #262 from campagnola/py26compat
Py26compat
2016-01-02 23:23:11 -08:00
Luke Campagnola
e495bbc69b Use inplace multiply 2016-01-02 10:31:03 -08:00
Luke Campagnola
15ba9e67e6 Merge branch 'develop' of https://github.com/SiLab-Bonn/pyqtgraph into SiLab-Bonn-develop 2016-01-02 10:11:05 -08:00
Eric Dill
21c79d1c4a MNT: Should use the actual widget not 'widget' 2015-12-24 10:41:17 -05:00
Eric Dill
51e06c31a7 MNT: Switch to WeakKeyDict 2015-12-24 10:38:31 -05:00
Luke Campagnola
215b39a59d Merge pull request #219 from rabryan/wheel-event-ignore
Ignore wheel events in GraphicsView if mouse disabled
2015-12-20 21:14:11 -08:00
Luke Campagnola
9796a3fd10 Merge pull request #221 from rabryan/finite-fills
support multiple polygon paths in FillBetweenItem
2015-12-20 21:09:35 -08:00
Luke Campagnola
2360e9f50f Merge pull request #226 from fedebarabas/develop
invalid slice fix
2015-12-20 20:44:20 -08:00
Luke Campagnola
de6d742eec Merge pull request #227 from campagnola/multiprocess-cleanup
Multiprocess cleanup
2015-12-20 20:21:41 -08:00
Luke Campagnola
8b6771f82b Merge pull request #232 from duguxy/flowchart-update
fix repetitive update() of nodes with multiple input
2015-12-20 19:23:45 -08:00
Kenneth Lyons
0904fb4b61 Pass TableWidget key press events to the parent class to allow for arrow key and tab navigation. 2015-10-24 23:14:32 -07:00
D.-L.Pohl
37367c8ac5 Update functions.py
BUG: fix scaling with numpy 1.10
2015-10-23 10:31:56 +02:00