Commit Graph

542 Commits

Author SHA1 Message Date
Luke Campagnola
0daae425a3 A bit more flow reorganization 2013-11-03 19:41:05 -05:00
Luke Campagnola
6083521387 Initial success. Testing and further reorganization to follow. 2013-11-03 17:55:57 -05:00
Luke Campagnola
a4103dd152 Mid-way through overhaul. Proposed code path looks like:
setRange -> updateViewRange -> matrix dirty
                            -> sigRangeChanged

    ... -> prepareForPaint -> updateAutoRange, updateMatrix if dirty
2013-11-03 17:10:59 -05:00
Luke Campagnola
ab1b1c6adf Added ViewBox test suite 2013-10-25 10:33:41 -04:00
Luke Campagnola
662af1a9c5 ignore test directories in top-level __init__ imports 2013-10-25 10:31:30 -04:00
Luke Campagnola
84a845185e Fix: when ViewBox is resized, update range if it is linked to another view 2013-10-20 11:06:57 -04:00
Luke Campagnola
5ef8b1d01a Merge branch 'axis_fix' into develop
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
2013-10-18 15:19:49 -04:00
Luke Campagnola
bb2ecd033c minor fix 2013-10-18 15:10:44 -04:00
Luke Campagnola
f19df05bdf Allow AxisItem.setScale(None) to retain API backward compatibility. 2013-10-18 15:02:17 -04:00
Luke Campagnola
03fd45c24a Updated documentation to match previous API change 2013-10-18 14:59:17 -04:00
Luke Campagnola
390f78c810 Fixed improper tick spacing and axis scaling
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.
2013-10-18 14:47:49 -04:00
Luke Campagnola
ea6f4ef442 Add backport ordereddict to repository
Merge remote-tracking branch 'kif/master' into develop

Conflicts:
	pyqtgraph/pgcollections.py
2013-10-18 11:21:15 -04:00
Luke Campagnola
b993c64c48 Workaround for OrderedDict bug: import from 'ordereddict' backport module if available 2013-10-18 09:46:48 -04:00
Jerome Kieffer
4052c3e9d1 Ordereddict exploses with python2.6 ...
Use the official backport
2013-10-17 20:19:30 +02:00
Luke Campagnola
54ca31f91b Added ImageExporter error message for zero-size export 2013-09-19 12:13:16 -04:00
Luke Campagnola
d8f9fb0781 Added GLBarGraphItem 2013-09-18 12:27:46 -04:00
Luke Campagnola
8b58416d1d minor edits 2013-09-18 12:27:01 -04:00
Luke Campagnola
029282bb9d Merge branch 'plotdata-nan' into develop
- 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
2013-09-13 03:37:56 -04:00
Luke Campagnola
58048a703c - 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
2013-09-13 03:27:26 -04:00
Luke Campagnola
5ad39c2509 Merge pull request #3 from gpoulin/master
Update README.md
2013-09-11 23:30:32 -07:00
Guillaume Poulin
47c55ed4e3 Update README.md
correct markdown
2013-09-12 14:22:26 +08:00
Luke Campagnola
ef1f003370 Merge pull request #2 from gpoulin/master
Add .gitignore and .mailmap
2013-09-11 23:19:09 -07:00
Guillaume Poulin
85572d5f7a Convert README to markdown for better github presentation 2013-09-12 14:01:52 +08:00
Guillaume Poulin
854304f087 cleaner mailamp 2013-09-12 12:36:02 +08:00
Guillaume Poulin
3df31d1832 add .gitignore and .mailmap 2013-09-12 12:26:39 +08:00
Luke Campagnola
f6ed67fc33 merged SVG export fixes for python 3 2013-09-10 10:40:19 -04:00
Guillaume Poulin
b48e0e9eb5 Restore utf-8 compatibility for python 2 2013-09-10 22:34:20 +08:00
Guillaume Poulin
59ada9b1b4 More bugfixes in SVGExporter.py 2013-09-10 22:12:55 +08:00
Guillaume Poulin
35ea55897e python3 bugfixes (SVGexpoter) 2013-09-10 20:57:56 +08:00
Luke Campagnola
bb3533ab81 Workaround for pyside bug: https://bugs.launchpad.net/pyqtgraph/+bug/1223173 2013-09-10 02:51:57 -04:00
Guillaume Poulin
b2cb6638bb merge inp 2013-09-10 14:15:25 +08:00
Luke Campagnola
881589468d Python 3 bugfixes 2013-09-10 00:31:43 -04:00
Luke Campagnola
f997b3079b Added GLBarGraphItem example
GLMeshItem accepts ShaderProgram or name of predefined program
Added missing documentation to GLGraphicsItem
minor edits
2013-09-06 15:36:36 -04:00
Guillaume Poulin
dfa2c8a502 solve some issue with opengl and python3 2013-09-05 04:37:41 +08:00
Guillaume Poulin
c02e6184ef merge inp 2013-09-05 00:28:03 +08:00
Luke Campagnola
91aa2f1c16 fixed TextParameter editor disappearing after focus lost 2013-08-27 12:00:26 -06:00
Luke Campagnola
42553854a9 pg.plot() and pg.PlotWidget() now accept background argument
ImageExporter correctly handles QBrush with style=NoBrush
2013-08-23 22:27:09 -06:00
Luke Campagnola
824e4b378b Corrected behavior of GraphicsView.setBackground 2013-08-23 22:08:32 -06:00
Luke Campagnola
d3f56c6df3 fixed PySide bug listing image formats 2013-08-22 10:02:39 -06:00
Luke Campagnola
160b1ee45f Python3 bugfixes 2013-08-21 10:40:19 -06:00
Luke Campagnola
6b3cfbc6fb Fixed parametertree selection bug 2013-08-18 23:02:01 -04:00
Luke Campagnola
2095a4c8ae Support for FFT with non-uniform time sampling 2013-08-16 21:28:03 -04:00
Luke Campagnola
79bd7ea187 documentation, bugfix 2013-08-04 14:36:14 -04:00
Luke Campagnola
ef8c47e8c8 Allow QtProcess without local QApplication 2013-08-04 14:35:28 -04:00
Luke Campagnola
3eeffd3b1d GLLinePLotItem accepts array of colors (thanks Felix!) 2013-07-13 16:42:36 -04:00
Luke Campagnola
6131427dea added error message when GL shaders are not available 2013-07-13 16:06:48 -04:00
Luke Campagnola
46901ae83a ListParameter bugfix: allow unhashable types as parameter values. 2013-07-12 13:14:09 -04:00
Luke Campagnola
5a2b946205 ViewBox bugfixes:
- drag rect now has large ZValue
  - fixed view linking with inverted y axis
2013-07-10 14:30:16 -04:00
Luke Campagnola
7cd3e663f9 experimental GL video widget
temporary fix for text parameter ignoring expanded option
Don't use os.EX_OK in pg.exit()
2013-07-10 00:02:16 -04:00
Guillaume Poulin
a290a39779 merge with inp 2013-07-05 00:09:30 +08:00