Commit Graph

633 Commits

Author SHA1 Message Date
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
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
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
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
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
Luke Campagnola
b0cafce3b4 Basic view limits appear to be working. 2014-01-30 10:50:07 -05:00
Luke Campagnola
797a8c0f08 Implementing user-defined limits for ViewBox 2014-01-28 13:22:54 -05:00
Luke Campagnola
c25eb76c2e Merge branch 'multiplotwidget-fix' into develop
Import and py3 bugfixes for MultiPlotWidget
Add setMinimumPlotHeight method.
2014-01-25 09:04:03 -05:00
Luke Campagnola
d86beb5a5a Added setMinimumPlotHeight method, set default min height to 50px. 2014-01-25 08:58:54 -05:00
Luke Campagnola
5a1a663a50 MultiPlotWidget now uses scroll bar when plots do not fit in widget area. 2014-01-25 08:50:31 -05:00
Luke Campagnola
d4364ea17a Fix MultiPlotWidget wrapping methods incorrectly. 2014-01-25 07:37:04 -05:00
Luke Campagnola
21639196d8 Fix imports in MultiPlotWidget and its example.
Merge remote-tracking branch 'termim/develop' into multiplotwidget-fix
2014-01-25 07:30:29 -05:00
Luke Campagnola
0d6d20e106 Merge branch 'deb_build' into develop
Minor setup corrections
2014-01-23 13:58:07 -05:00
Luke Campagnola
ba00ce530f remove print 2014-01-23 13:32:20 -05:00
Luke Campagnola
2f6bd8de37 quiet setup.py warning about install_requires 2014-01-23 13:28:30 -05:00
Luke Campagnola
529e9aaaff py2.6 fix in setupHelpers 2014-01-23 13:25:00 -05:00
Luke Campagnola
23779f004e - Fixed FillBetweenItem to force PlotCurveItem to generate path
- Added FillBetweenItem.setCurves()
- Added FillBetweenItem example
2014-01-23 10:34:26 -05:00
Luke Campagnola
48b5e0fba3 Merge branch 'deb_build' into develop
- removes the tools/debian directory (re-added in debian branch)
- updates to setup scripts
2014-01-22 14:25:01 -05:00
Luke Campagnola
d81998461f copy setHelpers.py changes from debian/ branch 2014-01-22 14:23:10 -05:00
Mikhail Terekhov
baa6c4b82c Fix metaarray import in MultiPlotWidget.py example and MultiPlotItem.py 2014-01-20 22:15:14 -05:00
Luke Campagnola
2f1cb26549 remove tools/debian; will add a new branch with debian/ at the root. 2014-01-19 21:14:49 -05:00
Luke Campagnola
ca68f05f1f Fix: PlotCurveItem now ignores clip-to-view when auto-range is enabled. 2014-01-19 08:37:58 -05:00
Luke Campagnola
eae32af0c7 Added symbol to Legend example 2014-01-18 23:30:03 -05:00
Luke Campagnola
e5501b01bd Merge branch 'johnelund-develop' into develop 2014-01-18 23:27:37 -05:00
Luke Campagnola
e97aebb343 Merge branch 'develop' of https://github.com/johnelund/pyqtgraph into johnelund-develop 2014-01-18 23:26:27 -05:00
Luke Campagnola
b3e07a0e0a ImageItem fix against a51c30d 2014-01-18 19:59:36 -05:00
Luke Campagnola
fd4ae73b17 Major performance improvement for ScatterPlotItem
Merge branch 'scatter-optim' into develop
2014-01-18 19:19:38 -05:00
Luke Campagnola
c9c2160856 more cleanups
added simple test
2014-01-18 19:13:39 -05:00
Luke Campagnola
b813ecabc3 cleanup; corrected view clipping. 2014-01-17 18:31:36 -05:00
John Lund
a381c61c0c LegendItem bugfix
drawSymbol is module-level funct, not class method
2014-01-17 08:59:59 -06:00
Luke Campagnola
6e5e35691c cleanups 2014-01-16 20:34:05 -05:00
Luke Campagnola
704f2f2048 Merge remote-tracking branch 'gpoulin/scatter_optim' into scatter-optim
Conflicts:
	pyqtgraph/functions.py
	pyqtgraph/graphicsItems/AxisItem.py
2014-01-15 00:11:05 -05:00
Luke Campagnola
19293d5b67 fixed division by zero 2014-01-14 22:29:46 -05:00
Luke Campagnola
a51c30d02f Merge branch 'integer-image-histogram-range' into develop
ImageItem.getHistogram is more clever about constructing histograms:
  - integer dtype images now have integer-aligned bins, with bin number
    determined by a target value
  - step size is automatically chosen based on a target image size
  - bins and step arguments have default values 'auto'
2014-01-14 22:28:54 -05:00
Luke Campagnola
e8dd3e6e57 ImageItem.getHistogram is more clever about constructing histograms:
- integer dtype images now have integer-aligned bins, with bin number
    determined by a target value
  - step size is automatically chosen based on a target image size
  - bins and step arguments have default values 'auto'
2014-01-14 22:22:50 -05:00
Luke Campagnola
12149b1dc4 Merge remote-tracking branch 'anntzer/integer-image-histogram-range' into integer-image-histogram-range 2014-01-14 21:06:48 -05:00
Antony Lee
20b9d079ce Nicer range for value histogram of integer images.
When an ImageItem's data has an integer dtype, this patch ensures that
each bin of the LUT histogram contains the same number of integer
values, in order to avoid "spikes" in the histogram that are merely due
to some bins covering more integer values than others.

This commit needs testing (it was rebased from an old commit).
2014-01-14 01:33:52 -08:00
Luke Campagnola
c8739e5425 Updated build system to use pybuild
- now generates python-pyqtgraph, python3-pyqtgraph, and python-pyqtgraph-doc packages
- `python setup.py sdist deb` works
2014-01-12 23:59:53 -05:00
Luke Campagnola
9a131f763b more reorganization to make setup-helpers code more generic 2014-01-12 11:50:52 -05:00
Luke Campagnola
7a45b9a0e2 Reorganized setup.py code
Added "deb" setup command
2014-01-12 10:35:31 -05:00