Commit Graph

920 Commits

Author SHA1 Message Date
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
Luke Campagnola
032c6c625d GLViewWidget.itemsAt() now measures y from top of widget. 2014-02-10 20:51:17 -05:00
Luke Campagnola
c8ee4a86be Added support for GL_LINES in GLLinePlotItem 2014-02-09 10:39:20 -05:00
Luke Campagnola
5488f9ec84 Added BarGraphItem.shape() to allow better mouse interaction 2014-02-09 10:38:29 -05:00
Luke Campagnola
dc1af8946e Added a few new examples 2014-02-09 09:42:04 -05:00
tommy3001
f8c9406f84 Renaming of GraphicsLayoutItem to GraphicsLayout 2014-02-08 17:27:15 +01:00
tommy3001
f1f097ec21 - Links in plot function added/resolved
(PlotWidget.plot() can not resolved, maybe useless)

-Links in "Organization of Plotting Classes" added/resolved
   - GraphicsLayoutItem changed to GraphicsLayout
      (svg/png picture also)

  graphicswindow.rst now useless (no link)

  Yes it "makes" ....
2014-02-08 17:16:45 +01:00
tommy3001
71db5aea91 IDE files added to .gitignore 2014-02-08 09:15:28 +01:00
tommy3001
f99fdaf2ce Merge remote-tracking branch 'remotes/upstream/develop' into develop 2014-02-08 08:50:17 +01:00
Luke Campagnola
193367a56b Signal cleanup:
- Renamed GraphicsView signals to avoid collision with ViewBox signals that
  are wrapped in PlotWidget: sigRangeChanged => sigDeviceRangeChanged and
  sigTransformChanged => sigDeviceTransformChanged.
- All signal disconnections that catch TypeError now also catch RuntimeError
  for pyside compatibility.
2014-02-07 10:38:41 -05:00
tommy3001
2a13994a2a Bugfix: Malformed tables.
All argument lists with `**Arguments:**`
2014-02-05 21:04:33 +01:00
tommy3001
2279775244 Merge branch 'develop' of https://github.com/pyqtgraph/pyqtgraph into develop 2014-02-05 20:06:22 +01:00
tommy3001
8b6ff6b06a Bugfix: Malformed tables. 2014-02-05 20:03:25 +01:00
Luke Campagnola
8730245990 Merge branch 'viewbox_limits' into develop
Adds ViewBox.setLimits method

Conflicts:
	examples/SimplePlot.py
2014-02-04 20:32:44 -05:00
Luke Campagnola
9093282a2a Wrap setLimits in PlotItem and PlotWidget 2014-02-04 20:28:23 -05:00
Luke Campagnola
bccbc29940 Bugfixes:
- isosurface works for arrays with shapes > 255
 - Fixed ImageItem exception building histogram when image has only one value
 - Fixed MeshData exception caused when vertexes have no matching faces
 - Fixed GLViewWidget exception handler
2014-02-03 22:24:45 -05:00
tommy3001
92d7bbe18e In list tables "**Arguments**", "Arguments:" changed to **Arguments:** 2014-02-03 21:13:10 +01:00
tommy3001
67685d80bc No rendering of "Line style keyword arguments:" list because of missing blank line and mysterious unexpected identation error 2014-02-03 20:33:55 +01:00
Luke Campagnola
83621e816f Merge branch 'termim-fixes' into develop 2014-02-02 10:49:17 -05:00
Luke Campagnola
92d3b3fb94 cleanups 2014-02-02 10:45:32 -05:00
Luke Campagnola
96296749be Merge remote-tracking branch 'termim/master' into termim-fixes
ArrowItem: setStyle now combines new options with previously-set options.
AxisItem: fix minor exceptions
2014-02-02 10:43:29 -05:00
Luke Campagnola
ff232f4e3a Added cylinder geometry to opengl MeshData 2014-02-01 20:46:05 -05:00
Mikhail Terekhov
95bddca014 In ArrowItem allow individual parameter change through setStyle call. 2014-01-31 23:00:18 -05:00
Mikhail Terekhov
fe11e6c143 use examples directory for the output 2014-01-31 22:29:20 -05:00
Mikhail Terekhov
13aa00d915 Check that textRects is not empty, otherwise np.max raises ValueError. 2014-01-31 22:10:17 -05:00
Mikhail Terekhov
355b38dcc1 Typo 2014-01-31 21:26:01 -05:00
Luke Campagnola
d0ed3ba245 Removed duplicate limit-setting arguments
Renamed args for clarity, improved documentation
Fixed interaction bugs
 - zooming works correctly when view is against limit
 - no more phantom target range; target is reset during mouse interaction.
2014-01-31 13:04:47 -05:00