Commit Graph

896 Commits

Author SHA1 Message Date
Luke Campagnola
00418e4921 Allow GLMeshItem to draw edges from MeshData with face-indexed vertexes. 2014-03-10 23:04:10 -04:00
Luke Campagnola
c8f03e828e Ignore NaN when checking data range in ImageView.
Merge remote-tracking branch 'zarch/bottleneck_range' into develop
2014-03-06 15:30:36 -05:00
Luke Campagnola
8eb85d97e8 clarification in CONTRIB 2014-03-06 11:17:14 -05:00
Luke Campagnola
82167a2488 corrected contributors list 2014-03-05 11:05:09 -05:00
Luke Campagnola
a82e940f7a Added instructions for contributing to pg 2014-03-05 11:01:53 -05:00
Luke Campagnola
87ff0f314c Merge branch 'fix_finite_cache' into develop 2014-03-05 10:34:46 -05:00
Luke Campagnola
41c3d47d43 Correct GraphicsItem to use relative import of lru_cache
Update MultiPlotSpeedTest to test lru_cache performance
2014-03-05 10:25:55 -05:00
Luke Campagnola
dcb2c42179 Moved lru_cache to util, test to util/tests 2014-03-05 09:16:53 -05:00
Luke Campagnola
dad001b9d4 Style corrections 2014-03-05 09:12:23 -05:00
Luke Campagnola
eb33970274 Correct to unix line endings 2014-03-05 09:11:53 -05:00
Pietro Zambelli
dad5d8f733 Detect range of the image using bottleneck if available 2014-03-04 16:56:56 +00:00
fabioz
e7cd4012bc Changed FiniteCache which had a bug where calling items() would make it recurse forever with a new LRUCache implementation. 2014-03-04 10:03:20 -03:00
Luke Campagnola
0045863165 Merge branch 'fabioz-crash' into develop 2014-03-03 13:49:05 -05:00
Luke Campagnola
3e764b00c2 Minor edits 2014-03-03 13:48:31 -05:00
Luke Campagnola
ad11ff3950 Minor cleanups for GraphItem 2014-03-03 12:56:15 -05:00
fabioz
c4880863b9 Fixed crash when collecting items on ViewBox and fixed exception which could happen when dragging when mouse handling is disabled. 2014-03-03 09:32:14 -03:00
Luke Campagnola
2e3cfcbd6d Make setPen() methods more consistent throughout the package.
Merge remote-tracking branch 'termim/develop' into develop

Conflicts:
	pyqtgraph/graphicsItems/ROI.py
2014-03-01 09:37:59 -05:00
Luke Campagnola
05b70e9e49 Added ConsoleWidget documentation 2014-02-28 21:44:48 -05:00
Luke Campagnola
fccae7d72c Added note about opengl and vispy 2014-02-28 21:33:48 -05:00
Luke Campagnola
250ae84149 doc corrections
update contributors list
2014-02-28 21:09:03 -05:00
Luke Campagnola
c72638ab1b Merge branch 'tommy3001-doc-updates' into develop
Conflicts:
	pyqtgraph/graphicsItems/AxisItem.py
	pyqtgraph/graphicsItems/PlotDataItem.py
	pyqtgraph/graphicsItems/ROI.py
2014-02-28 21:07:43 -05:00
Luke Campagnola
912f1f13c2 documentation fixes 2014-02-28 20:27:22 -05:00
Luke Campagnola
43ec2bcd2c Expanded ROI documentation 2014-02-28 18:24:01 -05:00
Mikhail Terekhov
953b9e4129 Make signature of the setPen method consistent 2014-02-28 16:16:13 -05:00
Mikhail Terekhov
6255dca99c MouseClickEvent: sometimes __repr__ could cause an exception
This happens during debugging session in an IDE (eric5) when debugger inspects
variables but self._scenePos is not yet initialized.
2014-02-28 16:15:25 -05:00
Luke Campagnola
37adecc06e udpate changelog 2014-02-28 09:54:12 -05:00
Luke Campagnola
ab0729bb04 Add check for even array length when using arrayToQPath(connect='pairs') 2014-02-28 08:55:30 -05:00
Luke Campagnola
5b6bc6715c Added GLViewWidget.setBackgroundColor() 2014-02-28 08:54:33 -05:00
Luke Campagnola
7d32ef85be Added automatic image downsampling (disabled by default)
- Reduces aliasing when zoomed out
  - Improves performance and memory usage for large images
Merge branch 'image_downsampling' into develop

Conflicts:
	pyqtgraph/graphicsItems/ImageItem.py
2014-02-17 20:48:22 -05:00
Luke Campagnola
036cadb44c pg.dbg() now returns pointer to console widget 2014-02-17 20:02:42 -05:00
Luke Campagnola
d67464af72 Update imageToArray to support Py2.6 + Qt 4.10 2014-02-17 20:02:03 -05:00
tommy3001
da4bb3df23 List alignments class WidgetParameterItem 2014-02-15 11:42:36 +01:00
tommy3001
57c36a953d malformed Signal list of function setData 2014-02-15 11:26:24 +01:00
Martin Fitzpatrick
e0c22e2796 Adding some additional deprectated APIs for Qt5. Example plots (mostly) working.
This adds some remaining APIs that were deprecated in Qt5. These are easy to do
as they're all documented, e.g.
http://qt-project.org/doc/qt-5.0/qtwidgets/qgraphicsitem-compat.html

Tested with most of the examples. Although I can't be sure as I
don't know what the 'correct' output is, they look like they work.

Some issues with interaction e.g. on the color bar plot.
2014-02-14 11:05:10 +01:00
Martin Fitzpatrick
b244805bde Basic plot function works. 2014-02-14 10:57:05 +01:00
Martin Fitzpatrick
42dbd7956a Adding PyQt5 compatibility (broken)
Adding compatibility for PyQt5 via a shim in Qt.py. This restructures the PyQt5 libraries
to match the layout seen in PyQt4, allowing it to continue to be used as drop in replacement.

This works up to the point of importing, however other API changes are broken - for example
the deprectation of .scale() on GraphicsItems throws an error currently.
2014-02-14 10:29:33 +01:00
tommy3001
78d92b383f Aditional ":" added, minor list alignments 2014-02-12 21:25:31 +01:00
tommy3001
17fdd51b55 malformed Signal list of class ROI 2014-02-12 21:19:29 +01:00
tommy3001
af106e3245 Minor Arguments list alignment in setDownSampling 2014-02-12 21:18:36 +01:00
tommy3001
9f5954641d ":" added 2014-02-12 21:06:54 +01:00
tommy3001
ce0fb140e8 ":" added again (copy/paste issue) 2014-02-12 21:03:39 +01:00
tommy3001
ddaa07afb1 "Arguments" added again (copy/paste issue) 2014-02-12 20:49:53 +01:00
Luke Campagnola
210d07027e ImageView updates to improve subclassing flexibility:
- Allow non-ndarray image data
 - Make quickMinMax a normal method
2014-02-12 11:31:58 -05:00
Luke Campagnola
4e1905f0e1 Merge pull request #35 from isolver/develop
BF: unicode fix for TableWidget
2014-02-12 09:35:32 -05:00
Sol Simpson
24cf9ada2c BF: unicode fix for TableWidget
Setting a table item value to a unicode value with non ascii chars would
cause the tablewidget contents to not be displayed (no exception thrown
either).

Changed all instances of str(..) or map(str,...) to use asUnicode and
issue seems to be fixed
2014-02-12 04:04:06 -05:00
Luke Campagnola
1ecceeaa92 Fixed unicode titles in Dock 2014-02-12 03:02:09 -05:00
Luke Campagnola
9677b1492b Added ViewBox.setBackgroundColor() 2014-02-12 02:16:00 -05:00
Luke Campagnola
283a568693 Cylinder base moved to z=0 2014-02-11 23:13:31 -05:00
Luke Campagnola
79af643955 Added Vector.angle method
Inverted MeshData.cylinder normals
2014-02-11 13:59:09 -05:00
Luke Campagnola
d45467e4cb Merge branch 'cylinder_mesh' into develop
Adds MeshData.cylinder
2014-02-11 10:12:40 -05:00