Commit Graph

45 Commits

Author SHA1 Message Date
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
679de86509 Minor changes and fixes:
- documentation updates
   - PlotItem informs all items when switching to log mode
   - GradientEditorItem has sigGradientChangeFinished
   - ParameterTree list types check linits on initialization
   - Fixed RuntimeError in TreeWidget.clear()
2012-10-31 01:53:16 -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
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
0402d08604 Minor updates and bug fixes:
- fixed handling of foreground colors in AxisItem
  - fixed rare crash caused in AxisItem 
  - fixed improper propagation of key events from SpinBox
  - many others
2012-08-31 17:18:06 -04:00
Luke Campagnola
45312120b1 Added TreeWidgetItem class: subclass of QTreeWidgetItem that manages its own column widgets 2012-08-17 16:11:30 -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
6d01aa2b09 Bugfixes:
- workaround for PySide exit crash
- fixed alpha of major/minor grid lines
2012-07-03 14:44:07 -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
f99ed791bc Added LayoutWidget 2012-06-29 12:36:31 -04:00
Luke Campagnola
96202aed3e Basic functionality in RemoteGraphicsView is working. 2012-06-22 22:10:37 -04:00
Luke Campagnola
d1fdbadd19 Multiprocessing updates / fixes:
- ForkedProcess is much more careful with inherited state -- closes file handles, removes atexit and excepthook callbacks
   - Remote processes copy sys.path from parent
   - Parallelizer has ProgressDialog support
   - Many docstring updates
   - Added some test code for remote GraphicsView rendering
2012-06-21 22:00:04 -04:00
Luke Campagnola
cc93c7ba43 Minor edits and fixes 2012-06-21 21:52:34 -04:00
Luke Campagnola
a7d2118a99 Added very simple, enterable object for setting busy cursor during long operations 2012-06-18 15:17:46 -04:00
Luke Campagnola
cc94e15d1e Minor edits and bugfixes
- fixed AxisItem sometimes drawing the same tick twice (sometimes with different text)
   - fixed handling of record arrays in setting ScatterPlotItem point data
2012-06-18 13:50:44 -04:00
Luke Campagnola
a4963f93b7 added flowchart node for removing periodic noise from waveform
metaarray updates:
  - better handling of HDF5 files
  - fixed some isinstance problems that appear during reloads
2012-06-18 13:45:47 -04:00
Luke Campagnola
6129df2019 code cleanup--removed old tests 2012-05-31 16:09:52 -04:00
Luke Campagnola
29be68d7fe Added PathButton -- simple button displaying a QPainterPath 2012-05-31 16:06:36 -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
13b201bebb ScatterPlotItem overhaul:
- performance improvements
  - removed 'identical' argument; this is now handled automatically
  - some minor API changes to SpotItem
2012-05-10 23:37:07 -04:00
Luke Campagnola
2a6cc84254 documentation fixes 2012-05-08 22:56:44 -04:00
Luke Campagnola
2e03c9719f documentation fixes / updates 2012-05-08 18:14:12 -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
dbbe3002a9 Documentation for SpinBox 2012-04-28 15:10:18 -04:00
Luke Campagnola
a71e4a5862 CheckTable now remembers and reloads the state of rows that disappear temporarily
Flowchart updates - added/fixed some display nodes
Merge from Kratz:
  - documentation updates
  - ComboBox class (updateList() allows entire item list to change while remembering previous setting)
2012-04-25 13:12:40 -04:00
Luke Campagnola
e962f4b7f4 doc update 2012-04-22 13:07:28 -04:00
Luke Campagnola
4eadccdcc1 documentation updates 2012-04-18 00:02:15 -04:00
Luke Campagnola
727214ca45 docstring updates 2012-04-15 10:20:07 -04:00
Luke Campagnola
41ada931d4 Fixed up JoystickButton example 2012-04-05 23:04:26 -04:00
Luke Campagnola
a336728006 small fixes for new modules 2012-04-04 22:54:46 -04:00
Luke Campagnola
a330d84943 added check for correct python version
fixes for flowchart
 - added missing FeedbackButton.py
 - corrected imports
2012-04-04 14:45:12 -04:00
Luke Campagnola
78d4bc0838 Performance enhancements
- HistogramLUTItem avoids using lookup table if possible
 - GradientEditorItem has a method to ask whether the gradient is trivial (can be applied without the use of a lookup table)
 - ROI, LinearRegionItem, InfiniteLine no longer redraw for every mouse movement
2012-04-04 09:29:35 -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
f6da6e2fd0 Added matplotlib exporter
Updates to MeshData class (this is still not tested)
2012-03-23 22:13:41 -04:00
Luke Campagnola
c814499bee Added features from meganbkratz:
- isocurves
 - array processing through gradientwidget
2012-03-23 13:38:53 -04:00
Luke Campagnola
1489643a30 GraphicsLayout: added convenience method for creating sub-layouts 2012-03-23 02:42:02 -04:00
Luke Campagnola
7c94b5a702 Bugfixes and example for view linking 2012-03-20 23:38:04 -04:00
Luke Campagnola
cd24530eb1 Bugfixes:
- Corrected ImageItem.setRect transformation order  
  - PlotCurveItem uses nkPen for interpreting shadowPen arguments
  - PlotItem and PlotWidget wrap a few more missing methods from ViewBox
2012-03-17 12:10:51 -04:00
Luke Campagnola
fe4e177d8e AxisItem fixes
documentation update
removed documentation builds from repo.
2012-03-12 12:23:25 -04:00
Luke Campagnola
81a32b0d1e Cleaned up and centralized export functionality
Moved GraphicsScene to its own directory, added exportDialog
Removed old export options from PlotItem / ViewBox (will re-enable once they are working again)
2012-03-11 11:59:45 -04:00
Luke Campagnola
aaece4badc bugfixes 2012-03-01 22:17:55 -05:00
Luke Campagnola
d4e8e2b883 Imported major changes from acq4 project. 2012-03-01 21:55:32 -05:00