Commit Graph

21 Commits

Author SHA1 Message Date
Luke Campagnola
df691596a7 ROI tests pass with row-major axis order 2016-08-25 18:18:15 -07:00
Luke Campagnola
55a07b0bec Correction in GraphicsItem.deviceTransform() during export.
This fixes some (all?) issues with exporting ScatterPlotItem.
2014-07-29 23:57:34 -04:00
Luke Campagnola
8b0a866ad9 Add ErrorBarItem.setData 2014-06-27 10:55:55 -04:00
Luke Campagnola
d83869c944 GraphicsItem.getViewWidget() returns None if widget has been deleted by Qt
Merge remote-tracking branch 'fabioz/fix_widget_dead' into develop
2014-03-24 15:58:07 -04:00
fabioz
e46bb31449 Checking if view is alive before returning it. 2014-03-13 15:52:49 -03: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
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
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
f630734453 Switching to relative imports to allow pyqtgraph to be imported under other names.
finished top-level files and graphicsItems
2013-12-22 02:08:39 -05:00
Antony Lee
23a0d6d7c0 Use actions of ViewBox's contextMenu in full menu.
The main change is on `ViewBox.getContextMenus`, which now returns an
up-to-date of actions that `GraphicsScene.addParentContextMenus` can use.

Also, `getContextMenus` was given a default implementation in the base
class (falling back on `getMenu` if defined), and some cleanup was done.
2013-11-20 12:23:07 -08:00
Luke Campagnola
8c13a3e7e3 copy from acq4 2013-07-03 11:20:49 -04:00
Luke Campagnola
8828892e55 merged many changes from acq4 2013-03-26 13:46:26 -04:00
Luke Campagnola
22bc2333a8 bugfixes 2013-02-10 21:04:00 -05:00
Luke Campagnola
4c887c8f50 Merge new fixes and features from acq4 2013-02-10 14:10:30 -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
4dc9b83816 Fixes for Python3, PySide 2013-01-12 18:07:35 -05:00
Luke Campagnola
9a9fc15873 Bugfixes:
- GraphicsItem.pixelVectors copies cached results before returning
  - Multiprocess fixes for Windows:
      - mmap/shm uses anonymous maps rather than tempfiles
      - avoid use of getppid and setpgrp
      - work around hmac authentication bug (use os.urandom to generate key)
2013-01-12 14:31:49 -05:00
Luke Campagnola
01b8968a0a Performance improvements:
- AxisItem shows 2 tick levels instead of 3
  - Lots of boundingRect and dataBounds caching
    (improves ViewBox auto-range performance, especially with multiple plots)
  - GraphicsScene avoids testing for hover intersections with non-hoverable items
    (much less slowdown when moving mouse over plots)
These are deep changes; need good testing before we release them.
2013-01-09 22:21:32 -05:00
Luke Campagnola
b0030e1a49 Bugfixes:
- Fixed RuntimeError when clearing items from ViewBox
- SVG exporter adds generic font-family names to text items
2012-12-29 02:35:45 -05:00
Luke Campagnola
72f66f7531 merge pyqtgraph from dev 2012-12-26 18:54:12 -05:00
Luke Campagnola
af59296231 Reorganized directory structure to be more standard
Started new SVG exporter
Merged updates from ACQ4
2012-12-25 00:43:31 -05:00