Commit Graph

35 Commits

Author SHA1 Message Date
Luke Campagnola a157d9c4fa Added better API for controlling antialiasing in plots
PlotItem auto-range button is now hidden by default; only appears for plots that are not already auto-ranged and have mouse hover.
2012-12-23 00:51:28 -05:00
Luke Campagnola 9b41c90034 New features for LegendItem:
- Can be anchored to parent item at any location
  - Support for filled plot styles
  - Automatically resizes to fit contents
  - PlotItem can auto-generate legend
2012-11-23 16:05:14 -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 64be9c8b1f converted all png files to compiled .py file; this allows easier packaging with py2exe 2012-10-11 11:14:35 -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 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 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 b88f0a22a2 ImageView can now be initialized with custom view and image objects 2012-08-03 00:29:05 -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 f9310d64c7 Imported code for disabling ViewBox menus from Ingo 2012-06-18 15:03:41 -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 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 d436f4b634 Merge changes from Kratz:
- isocurveitem documentation
  - updates to GradientEditor and PlotItem docs
  - Fix for Canvas handling of item Z-position
2012-04-28 16:00:42 -04:00
Luke Campagnola edb7c514a2 merged with dev 2012-04-22 13:10:18 -04:00
Luke Campagnola 636795d395 bugfix - PlotItem y-grid check works now 2012-04-22 13:08:38 -04:00
Luke Campagnola 4cfd58d8b9 doc fixes 2012-04-21 16:11:15 -04:00
Luke Campagnola f8758dba39 PlotItem (finally) gets log scaling
Also cleaned up some context menu items
2012-04-21 15:57:47 -04:00
Luke Campagnola 18182c157a merged fix from Ingo 2012-04-18 09:30:50 -04:00
Luke Campagnola 4eadccdcc1 documentation updates 2012-04-18 00:02:15 -04:00
Ingo Breßler d8624f565b PlotItem.addCurve: fixed typo 2012-04-16 23:15:25 +02:00
Luke Campagnola 44f2a0ecc4 Documentation updates 2012-04-16 16:45:55 -04:00
Luke Campagnola dc29a9060e documentation updates 2012-04-15 12:32:20 -04:00
Luke Campagnola 61ea03618a re-enabled wheel events for PlotItem 2012-04-15 10:56:41 -04:00
Luke Campagnola 727214ca45 docstring updates 2012-04-15 10:20:07 -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 543d56f0a6 reverted plotitem bug 2012-03-25 02:25:02 -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 04291a9300 reconnected viewbox range-change signals through plotitem. 2012-03-23 02:46:59 -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 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 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 4c525ffa06 removed pyc files, fixed import bug 2012-03-01 22:21:18 -05:00
Luke Campagnola d4e8e2b883 Imported major changes from acq4 project. 2012-03-01 21:55:32 -05:00