Commit Graph

723 Commits

Author SHA1 Message Date
Luke Campagnola
9da9125555 merge from inp 2013-01-11 21:17:12 -05:00
Luke Campagnola
3a27997014 Plotting performance improvements:
- AxisItem shows fewer tick levels in some cases.
  - 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)

Improved performance for remote plotting:
  - reduced cost of transferring arrays between processes (pickle is too slow)
  - avoid unnecessary synchronous calls

Added RemoteSpeedTest example
2013-01-11 20:30:08 -05:00
Luke Campagnola
6903886b3a Fixes against previous commits:
- fixed example testing script
 - Added finer axis ticks back in some instances
 - fixed improper bounds caching in log/fft mode
 - fixed exception handling in remoteproxy
2013-01-11 20:21:11 -05:00
Luke Campagnola
513e904a59 Improved performance for remote plotting:
- reduced cost of transferring arrays between processes (pickle is too slow)
  - avoid unnecessary synchronous calls

Added RemoteSpeedTest example
2013-01-10 16:10:27 -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
efe0dee6a7 merge from inp 2013-01-08 14:54:19 -05:00
Luke Campagnola
79c0ab8ad8 Documentation:
- Added documentation on export system
- Added flowchart documentation and custom node example

Bugfixes: 
- prevent PlotCurveItem drawing shadow when unnecessary
- deprecated flowchart.Node.__getattr__ -- causes too many problems.
2013-01-07 16:14:30 -05:00
Luke Campagnola
fa9660e381 merge with dev 2013-01-07 16:04:47 -05:00
Luke Campagnola
53f727ab2c Bugfix: prevent adding invalid entry to sys.path when running examples 2012-12-29 21:53:20 -05:00
Luke Campagnola
5249c6794e examples fix -- prevent adding invalid entry to sys.path while searching for pyqtgraph
added script for generating debian changelog from bzr log
2012-12-29 21:51:29 -05:00
Luke Campagnola
d5112df8f7 Actually added flowchart documentation this time. 2013-01-07 12:11:23 -05:00
Luke Campagnola
2a7a5e23eb Added Qt crash course file (mostly empty) 2013-01-07 10:46:49 -05:00
Luke Campagnola
b66e6e8ad6 Speed up PlotCurveItem in some cases (avoid drawing shadow when it is not needed) 2013-01-07 10:45:17 -05:00
Luke Campagnola
60836462d2 Updated flowchart documentation 2013-01-07 10:45:03 -05:00
Luke Campagnola
5786a627b5 Added deprecation warning for Node.__getattr__
Expanded flowchart.Node docstrings
Added custom node example
2013-01-04 12:05:36 -05:00
Luke Campagnola
4cbc012474 Added documentation on exporting 2012-12-30 13:17:41 -05:00
Luke Campagnola
30d33956fb examples fix -- prevent adding invalid entry to sys.path while searching for pyqtgraph
added script for generating debian changelog from bzr log
2012-12-29 21:51:29 -05:00
Luke Campagnola
21d7e8662b merge from inp 2012-12-29 02:38:48 -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
906468996a Bugfixes:
- SVG export text elements use generic font-family as backup, corrected item transformation issues
- Fixed RuntimeError caused when clearing item hierarchies from ViewBox
- Fixed example execution bug

Packaging maintenance:
- Added missing files to MANIFEST.in, fixed setup.py package detection
- Added debian control files for building source packages
- Fixed version numbering in doc, __init__.py
2012-12-29 02:04:04 -05:00
Luke Campagnola
927f032f19 MANIFEST.in includes some missing files: tools, README, LICENSE
updated debian control structure for building source packages
2012-12-29 01:40:41 -05:00
Luke Campagnola
9ee98b34e4 Merge bugfixes from acq4 2012-12-29 02:39:54 -05:00
Luke Campagnola
9b4eb78d12 merged SVG fixes from acq4 2012-12-28 16:27:17 -05:00
Luke Campagnola
f32a04a433 SVG export fixes:
- unicode support for text objects
  - always export in scene coordinates with offset from root item
2012-12-28 16:23:28 -05:00
Luke Campagnola
ce05e6fb8a merged with acq4 2012-12-27 14:54:00 -05:00
Luke Campagnola
8d5e24c8fd Removed incorrect version numbers 2012-12-27 11:53:22 -05:00
Luke Campagnola
87ea160a23 Correction to setup.py - use install_requires to inform pip of dependencies. 2012-12-27 10:31:08 -05:00
Luke Campagnola
b9822b1d10 Fixed doc version (again)
Added debian control files
2012-12-27 03:13:35 -05:00
Luke Campagnola
fa21cd4b7e bugfixes for new package structure 2012-12-27 02:46:26 -05:00
Luke Campagnola
000354ac21 Fixed documentation version numbers 2012-12-27 02:21:34 -05:00
Luke Campagnola
7f51813c2c Added MANIFEST.in for generating cleaner source distributions
updated versioning system
2012-12-27 01:52:32 -05:00
Luke Campagnola
19d7bc5605 bugfixes for new package structure 2012-12-27 04:35:23 +00:00
Luke Campagnola
6931eacffd Fixed doc build to work with new package structure. 2012-12-26 21:02:36 -05:00
Luke Campagnola
bc7e927ba7 Major merge with dev branch; this branch is ready to become stable after
a few rounds of bugfixes.
2012-12-26 20:37:02 -05:00
Luke Campagnola
4a39c1e3a4 Fixed bug 1089042 (AttributeError in PlotItem) 2012-12-26 20:12:49 -05:00
Luke Campagnola
72f66f7531 merge pyqtgraph from dev 2012-12-26 18:54:12 -05:00
Luke Campagnola
45048467b3 - Major reorganization; we now follow the standard python package structure.
- Overhaul of SVG export system. Seems to work well.
- Fixed image export bugs
- Added basic 3D line plot class
2012-12-26 17:51:52 -05:00
Luke Campagnola
8899e8d858 Updated image, SVG, and print exporters. Image export works well; SVG and print still need work.
Added ability to run examples with a specific Qt graphics system
2012-12-26 16:29:29 -05:00
Luke Campagnola
51b0ba0877 added line plot example to menu 2012-12-26 15:26:04 -05:00
Luke Campagnola
5374afeca8 Added basic 3D line plot class 2012-12-26 15:22:44 -05:00
Luke Campagnola
51e88bd436 SVG export fixes 2012-12-26 13:48:12 -05:00
Luke Campagnola
49e2177623 SVG export looks good. 2012-12-26 08:42:48 -05:00
Luke Campagnola
b0e0781624 svg exporter updates 2012-12-25 22:20: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
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
ef9d730d89 Workaround for Qt bugs on OSX:
- use graphics system 'raster' by default
  - disable OpenGL in QGraphicsView
2012-12-22 21:49:40 -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
ecca8855df - ScatterPlotItem disables render cache during export
- Fixes for SVG exporter
- functions.isosurface() is a bazillion times faster (API change: return value format has changed)
2012-12-22 15:16:38 -05:00
Luke Campagnola
1a104c7542 doc update: added some missing functions
setup.py updates
2012-12-07 09:31:21 -05:00