Luke Campagnola
5d6be5796b
image export: add option to invert pixel values (but not hues)
2017-09-13 21:36:34 -07:00
Luke Campagnola
9203f5ad1e
Merge pull request #458 from ZacDiggum/develop
...
fix image export bug
2017-05-01 17:30:50 -07:00
Luke Campagnola
d36a161f31
Fixed unicode error when exporting to SVG with non-ascii symbols
2017-05-01 09:34:37 -07:00
ZacDiggum
d4bff30f11
fix image export bug
...
fixes #454
2017-03-07 10:34:48 +01:00
Eric Dill
e6c1c54a6b
MNT: Use tempfile
2015-07-17 13:33:39 -04:00
Eric Dill
0e4fd90ca2
ENH: Clean up temp file from test suite
2015-07-13 13:38:04 -05:00
Luke Campagnola
0976991efd
Import from python2_3 for all uses of basestring, cmp, and xrange
2015-05-19 09:29:55 -04:00
Luke Campagnola
1fe5976e19
Merge branch 'pyqt5' into develop
...
Conflicts:
examples/parametertree.py
pyqtgraph/Qt.py
pyqtgraph/graphicsItems/FillBetweenItem.py
pyqtgraph/graphicsItems/InfiniteLine.py
pyqtgraph/imageview/ImageView.py
2015-02-28 11:46:41 -05:00
Luke Campagnola
058dd183d3
Cleaned up example loader
2015-02-28 10:32:34 -05:00
Luke Campagnola
1df5103d94
Fixes following acq4 merge
2014-08-07 09:11:34 -04:00
Luke Campagnola
753ac9b4c4
Squashed commit of the following:
...
commit ca3fbe2ff9
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Thu Aug 7 08:41:30 2014 -0400
Merged numerous updates from acq4:
* Added HDF5 exporter
* CSV exporter gets (x,y,y,y) export mode
* Updates to SVG, Matplotlib exporter
* Console can filter exceptions by string
* Added tick context menu to GradientEditorItem
* Added export feature to imageview
* Parameter trees:
- Option to save only user-editable values
- Option to set visible title of parameters separately from name
- Added experimental ParameterSystem for handling large systems of
interdependent parameters
- Auto-select editable portion of spinbox when editing
* Added Vector.__abs__
* Added replacement garbage collector for avoiding crashes on multithreaded Qt
* Fixed "illegal instruction" caused by closing file handle 7 on OSX
* configfile now reloads QtCore objects, Point, ColorMap, numpy arrays
* Avoid triggering recursion issues in exception handler
* Various bugfies and performance enhancements
2014-08-07 09:03:26 -04:00
Luke Campagnola
8f2a64a9dd
Fixed CSV export when PlotDataItem uses stepMode=True
...
Added CSV export unit tests
Merge remote-tracking branch 'termim/csv' into develop
2014-05-19 18:23:29 -04:00
Mikhail Terekhov
8ef2cb7e48
CSVExporter: fix the case when stepMode=True
2014-05-08 23:01:53 -04:00
Luke Campagnola
6b66edfd46
Added Travis CI support
...
Fixed bugs / style issues to please Lord Travis
Squashed commit of the following:
commit f25048a1e1
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Sun Mar 30 02:40:47 2014 -0400
syntax
commit cc8b69695a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Sun Mar 30 02:36:49 2014 -0400
add size check, diff style check
commit 5d5ea065a4
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Sun Mar 30 02:16:05 2014 -0400
travis fix
commit b154c6d997
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Sun Mar 30 02:09:41 2014 -0400
travis, flake colored output
commit 46921dcd87
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Wed Mar 26 12:37:54 2014 -0400
fix pyside+py3 bugs to satisfy CI
commit 1d30f3c5c7
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Wed Mar 26 11:13:18 2014 -0400
fix py3 tests
commit 426578fa4c
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Wed Mar 26 07:39:19 2014 -0400
fix pytest install
commit 88a13c1a71
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Wed Mar 26 00:29:29 2014 -0400
qt5 updates
commit 51995488cc
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Wed Mar 26 00:16:04 2014 -0400
correct py.test command for py3
commit e2b02fbcbd
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Tue Mar 25 23:50:38 2014 -0400
fix 2nd install test
commit 4b3e3ee04a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Tue Mar 25 23:31:31 2014 -0400
syntax error
commit 250eabdb34
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Tue Mar 25 23:13:42 2014 -0400
look for py.test3
commit 9f9bca47c1
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Tue Mar 25 22:54:19 2014 -0400
fix syntax
commit 0a871c6f36
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Tue Mar 25 22:47:58 2014 -0400
output pip build log
commit dbce58d8cd
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Tue Mar 25 22:38:55 2014 -0400
no comments allowed between shall lines
commit b79c06121d
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Tue Mar 25 20:56:35 2014 -0400
another pip try
commit 09f4f5d82a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Tue Mar 25 13:36:09 2014 -0400
pip correction
commit 0eedb5c18e
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Tue Mar 25 13:29:00 2014 -0400
correct py version output
commit d9fd039be2
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Tue Mar 25 11:55:43 2014 -0400
apt checks
commit cf95ccef86
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Tue Mar 25 10:23:10 2014 -0400
alternate pip install method
commit bee0bcddfe
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 23:51:45 2014 -0400
correct deps install
commit 963a4211fc
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 23:47:30 2014 -0400
fixes
commit 0c86cd1dc2
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 23:31:06 2014 -0400
permission fix
commit 5d04ef53b8
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 23:30:19 2014 -0400
Fix py.test version selection
commit b0e6c7cb94
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 23:25:34 2014 -0400
try another pyqt5 install method
commit 422a792866
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 23:12:36 2014 -0400
syntax error
commit 533133905a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 23:04:37 2014 -0400
fixes
commit 8d65211ba4
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 22:40:18 2014 -0400
Add Qt5 test
minor fixes
commit 4484efaefe
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 22:31:56 2014 -0400
use correct py.test for python version
commit 5d2441a29b
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 22:24:27 2014 -0400
add setup tests
commit 9291db64f2
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 21:48:43 2014 -0400
fix py3-pyqt install
commit a7aa675c5a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 21:31:33 2014 -0400
travis tests
commit e71cd2b23a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 21:17:15 2014 -0400
more corrections
commit 527df3bca8
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 20:56:01 2014 -0400
travis corrections
commit 87d65cac4a
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 20:48:02 2014 -0400
Add flake tests
Correct style in a few files to please Lord Travis
commit 537028f88f
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 17:36:24 2014 -0400
minimize pyside package install
correct line endings to satisfy Lord Travis
commit 1e3cc95e37
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 17:23:03 2014 -0400
enable pyside, line ending check
fix test
commit d7df4517f9
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 17:12:06 2014 -0400
syntax fix
commit 1ad77a2155
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 17:00:30 2014 -0400
alt. pytest install
commit 5edcc02072
Author: Luke Campagnola <luke.campagnola@gmail.com>
Date: Mon Mar 24 16:52:33 2014 -0400
Added initial travis.yml
2014-03-30 02:51:32 -04:00
Luke Campagnola
ed87cffd1f
corrected SVG test, moved to its proper home
2014-03-24 12:48:30 -04:00
Luke Campagnola
f4e0f091dc
Fixes against relative-import reorganization
2013-12-23 18:42:02 -05:00
Luke Campagnola
7777240d89
exporters, multiprocess, opengl
2013-12-23 09:46:54 -05:00
Luke Campagnola
59f07a03ee
python3 fix
2013-12-21 23:26:02 -05:00
Luke Campagnola
b50b94908f
pyqtgraph, .exporters, and .opengl now use static imports
2013-12-21 23:26:02 -05:00
Luke Campagnola
03c01d3b32
Fixes related to CSV exporter:
...
- CSV headers include data names, if available
- Exporter correctly handles items with no data
- pg.plot() avoids creating empty data item
- removed call to reduce() from exporter; not available in python 3
- Gave .name() methods to PlotDataItem, PlotCurveItem, and ScatterPlotItem
2013-12-19 12:30:00 -05:00
Antony Lee
f136b33033
Profilers controllable via PYQTGRAPHPROFILE.
...
A new function profiling system is implemented. Most importantly, this
allows one to profile various internal functions directly by setting the
`PYQTGRAPHPROFILE` environment variable to a comma separated list of
function and method names, e.g.
PYQTGRAPHPROFILE=functions.makeARGB,ImageItem.render \
python -mexamples
Specifically, items in `PYQTGRAPHPROFILE` must be of the form
`classname.methodname` or `dotted_module_name.functionname`, with the
initial "pyqtgraph." stripped from the dotted module name.
Moreover, the overhead of inactive profilers has been kept minimal: an
introspective check of the caller's name (only if `PYQTGRAPHPROFILE` is
set) and a trivial function (not method) call per profiler call.
The new profilers rely on `sys._getframe` to find the caller's name,
although the previous system (passing the caller's name explicitely)
could certainly have been kept instead.
Finally the API of profilers has been changed: register a
profiling point simply by calling the profiler, and profilers are
automatically flushed on garbage collection. See the docstring of
`pyqtgraph.debug.Profiler` for more details.
2013-11-27 09:57:46 -08:00
Luke Campagnola
54ca31f91b
Added ImageExporter error message for zero-size export
2013-09-19 12:13:16 -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
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
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
9a20d051cb
Fixed unicode support in export file save
2013-05-31 10:15:40 -04:00
Luke Campagnola
8828892e55
merged many changes from acq4
2013-03-26 13:46:26 -04:00
Luke Campagnola
1d2d7be733
When exporting, prefer to select PlotItem rather than ViewBox if possible
...
CSV exporter gets 'precision' option
2013-02-24 14:31:11 -05:00
Luke Campagnola
93a5753f5d
Fixed auto ranging for scatter plots
2013-02-12 19:15:45 -05:00
Luke Campagnola
4c887c8f50
Merge new fixes and features from acq4
2013-02-10 14:10:30 -05:00
Luke Campagnola
c5dd0f4f63
Fixed print statements for python 3
2013-01-12 14:35:32 -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
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
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