Commit Graph

2029 Commits

Author SHA1 Message Date
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
Luke Campagnola
97da32c4ec minor edit 2013-02-10 14:16:21 -05:00
Luke Campagnola
9fcb734863 merge from acq4 branch 2013-02-10 14:13:27 -05:00
Luke Campagnola
510b1b3fad Added some documentation for ArrowItem 2013-02-10 14:12:56 -05:00
Luke Campagnola
4c887c8f50 Merge new fixes and features from acq4 2013-02-10 14:10:30 -05:00
Luke Campagnola
0158e015e9 merged bugfix 2013-02-10 13:59:29 -05:00
Luke Campagnola
175aef2b75 Bugfix: "QGraphicsScene is not defined" 2013-02-10 13:56:42 -05:00
Luke Campagnola
189b4ed6e6 merge inp 2013-01-30 16:01:51 -05:00
Luke Campagnola
5bd3adfa7c merge from acq4 2013-01-30 15:59:48 -05:00
Luke Campagnola
ee21e2d054 fixed scatterplotitem segfault
added graphitem
2013-01-30 15:56:08 -05:00
Luke Campagnola
413a8f930e Bugfixes:
- ViewBox ignore bounds on zoom box
- Fixed improper pixel size caching
- Fixed check for 'win' in sys.platform (matches 'darwin' as well)
2013-01-30 15:51:38 -05:00
Luke Campagnola
899663c6ca bugfixes for scatterplot boundary miss
added method for setting axis tick font
2013-01-24 13:47:05 -05:00
Luke Campagnola
18d5c6644b Added more documentation for parametertree and AxisItem
Fixed linearRegionItem hilight when not movable
2013-01-19 07:48:31 -05:00