Commit Graph

1141 Commits

Author SHA1 Message Date
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
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
Luke Campagnola
89cb6e4108 Import image testing code from vispy 2016-02-02 21:58:47 -08: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