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.
* RawImageWidget (and thus OpenGL) isn't imported by default anymore.
* scipy.stats.scoreatpercentile is replaced by numpy.percentile.
This commit has not been tested as the example runner is currently
broken.
- setRange now only affects target range
- updateViewRange only affects view range
- updateMatrix only affects childGroup transform
- updateMatrix is only called before a render
Pathway now looks like:
setRange -> updateViewRange -> matrix dirty -> ...
-> sigRangeChanged
... -> prepareForPaint -> updateAutoRange, updateMatrix if dirty
- GraphicsView.render now correctly invokes GraphicsScene.prepareForPaint
- Fixed RemoteGraphicsView renderer to use new PyQt QImage API.
- multiprocess.Process now pipes stdout/err directly to console when in debugging mode
- ROI updates on sigTransformChanged
- ViewBox is more careful about accepting all auto-range changes up to the point it is disabled, even if the auto-range calculation is deferred.
Fixed improper tick spacing and axis scaling
This requires an API change:
- AxisItem.setScale(float) has the usual behavior
- AxisItem.setScale(None) is deprecated (but still works). Instead use:
- AxisItem.enableAutoSIPrefix(bool) to enable/disable SI prefix scaling
Also makes the API more intuitive since these features are now accessed and implemented independently.
fixes#4
This requires an API change:
- AxisItem.setScale(float) has the usual behavior
- AxisItem.setScale(None) is no longer allowed. Instead use:
- AxisItem.enableAutoSIPrefix(bool) to enable/disable SI prefix scaling
Also makes the API more intuitive since these features are now accessed and implemented independently.
- Removed inf/nan checking from PlotDataItem and PlotCurveItem; improved performance
- Added 'connect' option to PlotDataItem and PlotCurveItem to affect which line segments are drawn
- arrayToQPath() added 'finite' connection mode which omits non-finite values from connections
- Added 'connect' option to PlotDataItem and PlotCurveItem to affect which line segments are drawn
- arrayToQPath() added 'finite' connection mode which omits non-finite values from connections