Commit Graph

1155 Commits

Author SHA1 Message Date
Eric Dill
856c5eaadf Merge pull request #282 from campagnola/image-testing
TST: Add image testing
2016-03-22 10:31:10 -04:00
lesauxvi
e1c652662d change in the setText method of TextItem 2016-03-18 13:48:50 +01:00
Luke Campagnola
c65ca6d243 Merge branch 'develop' into image-testing
Conflicts:
	pyqtgraph/tests/__init__.py
2016-03-17 22:29:06 -07:00
lesauxvi
fe115a9667 small change in a docstring 2016-02-29 16:55:00 +01:00
lesauxvi
b7efa546aa addition of a method setColor for TextItem 2016-02-29 16:48:47 +01:00
lesauxvi
865141ae49 slight changes in TextItem 2016-02-29 11:40:33 +01:00
Luke Campagnola
9d64b269d5 Merge pull request #286 from campagnola/infiniteline-tests
combined infiniteline updates
2016-02-28 21:00:09 -08:00
Luke Campagnola
36b3f11524 docstring update 2016-02-28 20:53:52 -08:00
Luke Campagnola
bb97f2e98d Switch text anchor when line crosses center of view 2016-02-28 20:52:07 -08:00
Luke Campagnola
ac14139c2d rename example 2016-02-28 18:54:55 -08:00
Luke Campagnola
b7bf6337d7 minor efficiency boost 2016-02-28 18:45:42 -08:00
Luke Campagnola
bd0e490821 cleanup: docs, default args 2016-02-28 12:26:05 -08:00
Luke Campagnola
e4bdc17112 Add qWait surrogate for PySide 2016-02-22 23:11:29 -08:00
Luke Campagnola
4e424b5773 Fixed label dragging for oblique lines 2016-02-22 22:12:36 -08:00
Ales Erjavec
dddd4f51e2 Remove import of PyQt5.Qt unified module
Avaid unnecessary import of QtMultimediaWidgets
(https://www.riverbankcomputing.com/pipermail/pyqt/2016-February/036875.html)
2016-02-22 11:50:26 +01:00
Ales Erjavec
167bcbb7aa Fix QGraphicsItem.scale monkey patch for Qt5
Preserve the QGraphicsItem.scale() -> float overload behaviour
2016-02-22 11:26:58 +01:00
Ales Erjavec
5388d52928 Fix QHeaderView.setResizeMode monkey patch for Qt5 shim
QHeaderView.setResizeMode/setSectionResizeMode has two
argument overload.
2016-02-22 11:13:38 +01:00
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
Megan Kratz
240cdb1a41 changed setPredefinedGradient docstring to reference GradientEditorItem.loadPreset 2016-02-18 15:29:57 -05:00
Megan Kratz
e418645502 created a decorator function so we can auto-add the list of defined Gradients to docstrings 2016-02-18 15:28:45 -05:00
Luke Campagnola
926fe1ec26 image tester corrections 2016-02-17 08:38:22 -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
Megan Kratz
e5bd1f51a8 added note about updating docstring if Gradient list is updated 2016-02-15 17:31:02 -05:00
Megan Kratz
74fad9e29a added setPredefinedGradient function to ImageView, and added documentation to GradientEditorItem.loadPreset 2016-02-15 17:17:09 -05:00
Megan Kratz
229fc6aec9 added lines setting a custom color map to the ImageView example 2016-02-15 16:58:57 -05:00
Megan Kratz
3a50f65120 added setColorMap method to ImageView 2016-02-15 16:58:13 -05:00
Luke Campagnola
f988f0522d Merge branch 'new_markers' into develop 2016-02-14 23:16:47 -08:00
Luke Campagnola
392c3c6c17 Added symbol example to menu; minor cleanups to symbol example. 2016-02-14 23:15:39 -08:00
lesauxvi
6fc4e1a611 renaming of a method for better consistency 2016-02-15 07:11:22 +01:00
lesauxvi
a8b5624444 example modifications 2016-02-15 06:55:02 +01:00
Luke Campagnola
0bdc89fa69 correction for plotcurveitem tests on osx 2016-02-14 14:28:13 -08:00
Luke Campagnola
e712b86a38 relax auto-range check 2016-02-14 13:29:20 -08:00
Luke Campagnola
5171e1f1c7 Remove axes from plotcurveitem test--fonts differ across platforms. 2016-02-14 13:13:56 -08:00
Luke Campagnola
e0a5dae1d5 Made default image comparison more strict. 2016-02-14 12:56:11 -08:00
Luke Campagnola
ebe422969e fix py3 imports 2016-02-13 19:49:50 -08:00
Luke Campagnola
879f341913 fix: no check_output in py 2.6 2016-02-12 17:51:34 -08:00
Luke Campagnola
f2a72bf780 Image tester is working 2016-02-12 03:03:52 -08:00
Lionel Martin
20ee97cd44 Fixing order of positions in colormap 2016-02-10 10:08:39 +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