Commit Graph

54 Commits

Author SHA1 Message Date
Luke Campagnola
f9c85dae42 Merge remote-tracking branch 'pyqtgraph/develop' into core 2014-08-06 10:11:21 -04:00
Luke Campagnola
c7f4a8fd39 Merge branch 'develop' into core 2014-04-15 15:11:19 -04:00
Luke Campagnola
1dae1def22 Merge branch 'develop' into pyqtgraph-core 2013-12-23 11:16:39 -05:00
Luke Campagnola
757dc50447 Merge tag 'pyqtgraph-0.9.8' into pyqtgraph-core 2013-12-23 11:15:54 -05:00
Luke Campagnola
ef0ee7c60b Merge tag 'pyqtgraph-0.9.7' into pyqtgraph-core 2013-12-23 11:15:17 -05:00
Luke Campagnola
7ac74e52e8 Fixed auto ranging for scatter plots 2013-02-12 19:15:45 -05:00
Luke Campagnola
3ab73fc3b3 bugfixes 2013-02-10 21:04:00 -05:00
Luke Campagnola
17409bc9a6 Merge new fixes and features from acq4 2013-02-10 14:10:30 -05:00
Luke Campagnola
5053318348 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
362a0dcd04 Fixes for Python3, PySide 2013-01-12 18:07:35 -05:00
Luke Campagnola
8355e6148d 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
c07a92efbe Reorganized directory structure to be more standard
Started new SVG exporter
Merged updates from ACQ4
2012-12-25 00:43:31 -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
Luke Campagnola
4ceae9f1a1 Features:
- GLScatterPlotItem can work with arbitrarily-shaped vertex arrays
- added colorToAlpha function

Bugfixes:
- GraphicsScene emits sigMouseClicked for all clicks
- CanvasItem emits transformation change signal when mirrored
- GLViewWidget.pixelSize correctly handles position specified as array
- SRTTransform3D assumes Zscale=1 when converting from 2D transform
2012-12-22 17:04:07 -05:00
Luke Campagnola
b25e34f564 Features:
- Canvas: added per-item context menus
- Isocurve: 
     option to extend curves to array boundaries
     option to generate QPainterPath instead of vertex array
- Isosurface is a bajillion times faster
- ViewBox
     added clear() method
     added locate(item) method (shows where an item is for debugging)

Bugfixes:
- automated example testing working properly
- Exporter gets incorrect source rect when operating on PlotWidget
- Set correct DPI and size for SVG exporter
- GLMeshItem works properly with whole-mesh color specified as sequence
- bugfix in functions.transformCoordinates for rotated matrices
- reload library checks for modules that are imported multiple times
- GraphicsObject, UIGraphicsItem: added workaround for PyQt / itemChange bug
- ScatterPlotItem: disable cached render during export

Other:
- added documentation for several functions
- minor updates to setup.py
2012-12-22 16:51:25 -05:00
Luke Campagnola
3de5719011 Merged testing code from Kratz
Numerous fixes for python 3 compatibility
2012-12-05 00:25:45 -05:00
Luke Campagnola
80148920c9 Bugfixes:
- Image exporter detects GraphicsView background color
- Corrected exporter filename handling for SVG export
- ViewBox no longer attempts to deregister itself while python is exiting
- Speedup for conversion using np.array(MetaArray_instance)
- GLGraphicsItem updates immediately when its GL options have changed
- Corrected some GL shader program bugs for nVidia drivers
- Fixed coordinate mapping bug in functions.transformCoordinates
- Fixed PySide import error
2012-12-04 21:02:05 -05:00
Luke Campagnola
e5f383fbb5 Bugfixes and updates to functions.py:
- generalized makeARGB API: can now process arrays of arbitrary shape.
  - affineSlice automatically converts vector arguments to array
  - new function applyLookupTable taken from makeARGB
  - isosurface function returns array
Updated VideoSpeedTest example to follow new makeARGB API

LayoutWidget: row argument now accepts 'next' as value
ParameterTree bugfix: avoid infinite recursion when accessing non-existent attributes
ViewBox: avoid exit error caused when cleanup callback is invoked while python is shutting down
2012-11-23 16:01:25 -05:00
Luke Campagnola
2c679dfbcc ViewBox will now correctly auto-range when an item's position or transform changes. 2012-10-31 01:57:00 -04:00
Luke Campagnola
8551a990c6 Merged ViewBox bugfix from Kratz 2012-10-25 00:22:18 -04:00
Luke Campagnola
16434272c2 Bugfix: ScatterPlotItem not updating correctly when view is resized
Documentation updates (linked GLImageItem and Legend item to indexes)
2012-10-22 13:34:03 -04:00
Luke Campagnola
1c8579d4b4 - Bugfixes:
Fixed exporters to automatically add filename extension.
    Fixed ViewBox 'auto pan' option.
- Other minor edits.
2012-10-18 22:51:46 -04:00
Megan Kratz
c039074e79 bugfix for ViewBox.childrenBounds -- vertical infiniteLines were not being included in autoscale range 2012-10-15 15:41:11 -04:00
Luke Campagnola
5081c97ac5 Better support for frozen environments:
- built in Christian Gavin's os.listdir replacement
  - added os.isdir replacement
Fixed ViewBox causing errors at shutdown
2012-10-11 00:57:24 -04:00
Luke Campagnola
1d05656a73 - Fixed issue with numpy.concatenate wrapper
- ConsoleWidget now correctly catches its own exceptions
- Fixed ViewBox auto-scaling bug
- Fixed functions.siEval not parsing units correctly
- Fixed bug caused when opengl GL_VERSION_STR is None
2012-10-09 20:40:48 -04:00
Luke Campagnola
c2f0bebe09 Added functions.transformCoordinates() for mapping numpy arrays of coordinates from QTransform and QMatrix4x4
Minor updates:
- fixed SRTTransform3D.matrix()
- ViewBox fix: updateAutoRange leaves unused axes completely unchanged
- documentation updates
2012-10-06 16:56:53 -04:00
Luke Campagnola
27c90c5dd5 Many minor updates:
- added ability for ScatterPlotItem to use arbitrary symbol shapes
- added scatter plot speed test for evaluating new methods
- added butterworth notch filter to flowchart library
- fixed bugs with ViewBox trying to close itself after python has started cleaning up
- fixed python 2.6 compatibility bug in PlotCurveItem
- fixed support for list-of-dicts and dict-of-lists input for PlotDataItem
- check to ensure Qt version is >= 4.7
- workaround for numpy segmentation fault
- several other minor updates and documentation changes
2012-10-02 21:23:59 -04:00
Luke Campagnola
ca9d0ed147 Added preliminary support for python 2.6
Fixed setup.py to automatically search for all sub-packages
2012-09-13 10:12:59 -04:00
Luke Campagnola
c022f3a10f Bugfixes:
- initialize ImageItem.menu
 - fixed default argument for ROI.getAffineSliceParams(axes)
2012-09-11 10:26:34 -04:00
Luke Campagnola
32311351f1 Now detects and switches between PyQt / PySide automatically; no need to distribute different versions of the library anymore. 2012-09-09 19:07:36 -04:00
Luke Campagnola
a41d330c29 Bugfixes:
- Fixed some floating-point precision issues. (Added a workaround for QTransform.inverted() bug)
  - No longer putting asUnicode inside __builtin__ since this causes problems in some rare circumstances
    (pyshell, lazy import recipe)
  - Minor docstring updates
2012-07-12 15:35:58 -04:00
Luke Campagnola
662b319d7b - PlotItem can now be constructed with customized ViewBox and AxisItems
- Text spacing fix for AxisItem
2012-07-09 08:38:30 -04:00
Luke Campagnola
3d71a1f555 Documentation updates
minor code edits
2012-06-30 23:30:35 -04:00
Luke Campagnola
ad7b5f0aad - Default foreground / background colors can now be set using pyqtgraph.setConfigOption()
- Added pyqtgraph.systemInfo() for bug reporting
- GraphicsLayout does a better job of avoiding occupied cells when using automatic placement
- Fixed sizing issues with LabelItem
- Updated GraphicsLayout example
2012-06-29 14:39:27 -04:00
Luke Campagnola
f9310d64c7 Imported code for disabling ViewBox menus from Ingo 2012-06-18 15:03:41 -04:00
Luke Campagnola
6932c34126 - Added workaround for Qt bug: https://bugreports.qt-project.org/browse/QTBUG-18616. (GraphicsItem.setParent needs to check for scene change first)
This _could_ cause other problems, but they will certainly be fewer than the existing problems.

- Fixed bugs with ViewBox linking to views which are subsequently deleted
2012-06-18 14:00:19 -04:00
Luke Campagnola
f258c3d87c minor bugfixes / features:
- optional context menu for ImageItem
 - inverted y-axis in Canvas (+y now points upward)
 - extra __init__ arguments for Dock
 - Transform can be constructed from Matrix4x4
 - many others
2012-05-29 23:18:34 -04:00
Luke Campagnola
fc9b3dee4d Started Python3 compatibility changes 2012-05-11 18:05:41 -04:00
Luke Campagnola
f21c3986d5 Added ViewBox auto-ranging options:
- auto pan (center of view changes, but total range does not)
  - scale only to visible data (data outside of viewbox is ignored when auto-ranging)
2012-05-08 17:56:55 -04:00
Luke Campagnola
9b5c8d0ada ScatterPlotItem minor performance fixes
SpinBox bugfix - improper handling of arguments to setOpts in integer mode
2012-04-30 18:20:27 -04:00
Luke Campagnola
c1963759a1 doc updates 2012-04-18 10:59:30 -04:00
Luke Campagnola
c44887e531 bugfix 2012-04-15 12:33:56 -04:00
Luke Campagnola
dc29a9060e documentation updates 2012-04-15 12:32:20 -04:00
Luke Campagnola
5a357ddb2a Several minor bugfixes and features
- Added rate-limited mode to SignalProxy
  - Added basic text justification to LabelItem
  - ViewBox.addItem now has ignoreBounds option, which causes the item to be ignored when autoscaling
  - Added ValueLabel widget
  - Fixed some autoscaling bugs
  - InfiniteLine fix - no hilight if movable=False
2012-04-03 01:01:33 -04:00
Luke Campagnola
ad232ff79b - re-merged isocurve code
- re-enabled OpenGL on windows, added a config option for enabling/disabling OpenGL
- minor bug fixes
2012-03-27 12:30:51 -04:00
Luke Campagnola
7e926ba136 Bugfix for plot linking 2012-03-23 04:04:04 -04:00
Luke Campagnola
3b2ef16071 bugfix for view linking, example update 2012-03-23 02:42:32 -04:00
Luke Campagnola
b78662c33e Minor updates for exporting
- curves enable antialiasing when exporting to image
  - plotitems hide button during export
2012-03-23 02:41:10 -04:00
Luke Campagnola
7c94b5a702 Bugfixes and example for view linking 2012-03-20 23:38:04 -04:00
Luke Campagnola
97740c2376 bugfix for linking ViewBoxes 2012-03-20 22:39:37 -04:00