Commit Graph

2991 Commits

Author SHA1 Message Date
Luke Campagnola
ff59924ee0 fixed mouse scaling issue introduced in inp a few commits ago
added panning plot example
2013-03-19 21:22:23 -04:00
Luke Campagnola
e656366fab fixed panning bug introduced in inp:274 2013-03-19 20:54:05 -04:00
Luke Campagnola
f029e7893e merged with inp 2013-03-19 16:05:32 -04:00
Luke Campagnola
cefb4f9828 merged updates from acq4 2013-03-19 16:04:46 -04:00
Luke Campagnola
4716a84117 AxisItem bugfix: corrected x-linked view update behavior
Added MultiplePlotAxes example
2013-03-19 11:49:10 -04:00
Luke Campagnola
87f45186d8 bugfix: prevent auto-range disabling when dragging with one mouse axis diabled 2013-03-17 15:16:27 -04:00
Luke Campagnola
ad20103ccc Check for length=0 arrays when using autoVisible 2013-03-17 14:26:23 -04:00
Luke Campagnola
2f510de2ca Added PolyLineROI.getArrayRegion 2013-03-13 17:17:39 -04:00
Luke Campagnola
4839998574 merged with inp branch 2013-03-07 15:33:59 -05:00
Luke Campagnola
2a27687fb2 merged updates from acq4 2013-03-07 15:29:56 -05:00
Luke Campagnola
db5c303fad TableWidget updates:
- Made numerically sortable
  - Added setEditable method
  - Added example
2013-03-06 06:27:24 -05:00
Luke Campagnola
916face815 Merged TableWidget updates from Laugher 2013-03-06 05:43:02 -05:00
Brianna Laugher
e4314f883d Move setSortingEnabled to the widget init rather than after setting the data, otherwise weird sorting happens 2013-03-05 16:29:07 +11:00
Luke Campagnola
262d4bf53f bugfix: examples working in PyQt 4.9.6 (workaround for API change) 2013-03-04 23:29:22 -05:00
Brianna Laugher
cba720730d Some extra bits - add sizeHint, make not editable, make columns sortable 2013-03-05 14:02:55 +11:00
Brianna Laugher
5254d29b6a Pylint cleanups - remove commented out code, fix formatting etc 2013-03-05 13:58:42 +11:00
Luke Campagnola
dd3603dc58 merge with inp 2013-03-04 21:12:25 -05:00
Luke Campagnola
2980f8335c bugfix: ignore inf and nan when auto-ranging
added experimental opengl line-drawing code
2013-03-04 19:43:51 -05:00
Luke Campagnola
0642f38657 Flowcharts get cubic spline connectors 2013-02-27 16:42:43 -05:00
Luke Campagnola
83812ad5b8 Bugfixes:
- AxisItem did not update grid line length when plot stretches
  - Workaround for PySide/QByteArray memory leak
2013-02-26 21:54:56 -05:00
Luke Campagnola
a59f4c206a Fixed example testing on windows 2013-02-25 14:03:33 -05:00
Luke Campagnola
03683a5ef6 Bugfixes:
- ArrowItem auto range now works correctly
  - Dock drag/drop fixed on PySide
  - Made padding behavior consistent across ViewBox methods
  - Fixed MeshData / python2.6 incompatibility
  - Fixed ScatterPlotItem.setSize and .setPointData
  - Workaround for PySide bug; GradientEditor fixed
  - Prefer initially selecting PlotItem rather then ViewBox when exporting
  - Fixed python3 import error with flowcharts

Cleaned up examples, made code editable from example loader
Minor documentation updates
2013-02-25 13:46:24 -05:00
Luke Campagnola
4cf9ef70ba Fixed modified example code execution 2013-02-25 13:45:24 -05:00
Luke Campagnola
b9cbf387ed merge with inp 2013-02-25 13:11:55 -05:00
Luke Campagnola
475006f508 example loader allows editing code
Workaround for PySide bug; fixes GradientEditorItem
2013-02-25 13:03:21 -05:00
Luke Campagnola
491aee0fe2 python3 fixes
cleaned up examples
2013-02-24 23:09:03 -05:00
Luke Campagnola
d33fe05479 fixed python2.x print statements 2013-02-24 15:24:42 -05:00
Luke Campagnola
1d2d7be733 When exporting, prefer to select PlotItem rather than ViewBox if possible
CSV exporter gets 'precision' option
2013-02-24 14:31:11 -05:00
Luke Campagnola
3c6081f3a4 fixed ScatterPlotItem.setSize and setData 2013-02-24 11:58:39 -05:00
Luke Campagnola
4fad8fa3d2 minor fixes to docks and flowchart nodes 2013-02-24 11:39:23 -05:00
Luke Campagnola
21dff0525a merge from inp, removed print statement 2013-02-24 11:37:17 -05:00
Luke Campagnola
8e5133c873 minor fixes from acq4 2013-02-24 11:32:35 -05:00
Luke Campagnola
412e1d2ec8 doc updates
ViewBox: made padding more consistent for all auto-ranging methods, deprecated autoRange(item=) in favor of autoRange(items=)
2013-02-20 11:13:50 -05:00
Luke Campagnola
86861b5a06 Fixed dock dragging on pyside
Added imageview.setImage argument documentation
2013-02-15 15:22:05 -05:00
Luke Campagnola
783af1a918 fix for python 2.6 compatibility 2013-02-15 11:01:03 -05:00
Luke Campagnola
9c70d948aa Fixed ArrowItem auto-range 2013-02-14 14:22:30 -05:00
Luke Campagnola
2e79185d2f Features:
- Added GraphItem class for displaying networks/trees
  - Added ColorMap class for mapping linear gradients and generating lookup tables
    (Provides gradient editor functionality without the GUI)
  - Added ColorMapWidget for complex user-defined color mapping
  - Added ScatterPlotWidget for exploring relationships in multi-column tables
  - Added ErrorBarItem
  - SVG and image exporters can now copy to clipboard
  - PlotItem gets new methods: addLine, setLabels, and listDataItems
  - AxisItem gets setTickFont method
  - Added functions.arrayToQPath, shared between GraphItem and PlotCurveItem
  - Added gradient editors to parametertree
  - Expanded documentation, added beginning of Qt crash course

Bugfixes:
  - Fixed auto-ranging bugs: ViewBox now properly handles pixel-padding around data items
  - ViewBox ignores bounds of zoom-rect when auto ranging
  - Fixed AxisItem artifacts
  - Fixed GraphicsItem.pixelVector caching bugs and simplified workaround for fp-precision errors
  - LinearRegionItem.hoverEvent obeys 'movable' flag                                                                                                                                         
  - Fixed PlotDataItem nan masking bugs                                                                                                                                                      
  - Workaround for segmentation fault in QPainter.drawPixmapFragments                                                                                                                        
  - multiprocess and RemoteGraphicsView work correctly in Windows.                                                                                                                           
  - Expanded python 3 support                                                                                                                                                                
  - Silenced weave errors by default                                                                                                                                                         
  - Fixed " 'win' in sys.platform " occurrences matching 'darwin' (duh)
  - Workaround for change in QImage API (PyQt 4.9.6)
  - Fixed axis ordering bug in GLScatterPlotItem
2013-02-14 08:29:11 -05:00
Luke Campagnola
815746895d Fixed GLSurfacePlot bug 2013-02-13 17:11:47 -05:00
Luke Campagnola
194eba1e3a merge from inp 2013-02-13 14:51:20 -05:00
Luke Campagnola
63c3b36a03 added a few examples 2013-02-13 13:00:50 -05:00
Luke Campagnola
ccc81c6919 mp fixes 2013-02-13 11:43:22 -05:00
Luke Campagnola
4dbc411d19 minor fixes 2013-02-12 23:10:25 -05:00
Luke Campagnola
9f55a27fdd More boundingRect / dataBounds bugfixes 2013-02-12 21:44:42 -05:00
Luke Campagnola
93a5753f5d Fixed auto ranging for scatter plots 2013-02-12 19:15:45 -05:00
Luke Campagnola
a80f150b86 merge with inp 2013-02-11 21:47:00 -05:00
Luke Campagnola
4cec9ff044 Added ErrorBarItem to repository 2013-02-11 21:45:41 -05:00
Luke Campagnola
c80bfb334c Fix for new QImage API in PyQt 4.9.6 2013-02-11 16:38:13 -05:00
Luke Campagnola
22bc2333a8 bugfixes 2013-02-10 21:04:00 -05:00
Luke Campagnola
6e5c5e402b merged many new features from ACQ4 2013-02-10 17:45:16 -05:00
Luke Campagnola
6e0e83e926 merge with inp 2013-02-10 14:17:30 -05:00