Commit Graph

2096 Commits

Author SHA1 Message Date
Kyle Sunden
6e9a48558c
Merge pull request #1005 from pyqtgraph/update_changelog
Update Changelog
2019-12-15 22:30:22 -06:00
Kyle Sunden
9b6102900d Update Changelog with PRs merged since August 2019-12-15 21:54:36 -06:00
Kyle Sunden
bedb34bf8d Merge branch 'develop' into update_changelog 2019-12-15 20:30:39 -06:00
Paul Müller
57909aab45
dump ExportDialog.exporterParameters, b/c it prevents correct aspect ratio on image export (close #1087) 2019-12-03 11:52:09 +01:00
Ogi Moore
db483f8ec2
Merge pull request #1082 from pyqtgraph/revert-360-develop
Redo "Allow MetaArray.__array__ to accept an optional dtype arg"
2019-11-25 06:52:44 -08:00
Ogi Moore
99b9d7b013
Merge pull request #1085 from paulmueller/patch-1
fix wrong offset when drawing symbol
2019-11-25 06:52:01 -08:00
Paul Müller
2a01c3848a
fix wrong offset when drawing symbol 2019-11-25 14:14:15 +01:00
Kenneth Lyons
19c9e5460c
Merge pull request #1083 from paulmueller/fix-svg-export-scatter
fix faulty SVG export of scatter plots (KeyError: 'resolutionScale')
2019-11-23 20:21:20 -08:00
Paul Müller
b02ada024b
fix error on SVG export of scatter plots: KeyError: 'resolutionScale' 2019-11-23 13:10:49 +01:00
Ognyan Moore
ef4ca9e9ea Incorporated correction luke suggested 2019-11-21 08:46:25 -08:00
Ogi Moore
770ce06dc1
Revert "Allow MetaArray.__array__ to accept an optional dtype arg" 2019-11-21 08:42:44 -08:00
Ogi Moore
78e218fe6c
Merge pull request #360 from nfirvine/develop
Allow MetaArray.__array__ to accept an optional dtype arg
2019-11-20 22:17:18 -08:00
Ogi Moore
0f40237012
Merge pull request #742 from campagnola/metaarray-py3
Metaarray py3 support
2019-11-20 22:11:09 -08:00
Ogi Moore
71c4807559 fix dict eq() checks 2019-11-20 21:54:56 -08:00
Ogi Moore
477feb777b import h5py.highlevel is deprecated, use import h5py instead 2019-11-20 21:54:56 -08:00
Luke Campagnola
a8529e48f3 faster keys comparison 2019-11-20 21:54:56 -08:00
Luke Campagnola
7cb27594a5 fix dict keys comparison 2019-11-20 21:54:56 -08:00
Luke Campagnola
542f4b446b Add eq() support for comparing dict, list, tuple 2019-11-20 21:54:56 -08:00
Luke Campagnola
e58b7d4708 minor correction 2019-11-20 21:54:56 -08:00
Luke Campagnola
c484c86417 don't modify info from v1 files, move info correction to hdf reading 2019-11-20 21:54:56 -08:00
Paul B. Manis
ae61d3582e Py2/3 MetaArray adjustments, first pass 2019-11-20 21:54:56 -08:00
SamSchott
c0ae44bc2d Nicer legend (#958)
* More customizable and nicer legend.

- Give kwargs for legend frame and background colors instead of hard-coded values.
- Reduce spacing for more compact legend
- Give separate kwarg `labelTextColor`.
- New method to clear all legend items.
- New methods to get and change `offset` relative to the legend's parent.
- Horizontal instead of tilted lines for legend pictures.
2019-11-19 21:42:31 -08:00
SamSchott
c95ab570b1 set color of tick-labels separately (#841) 2019-11-19 20:43:27 -08:00
rwalroth
455fdc2a2a Allowed actions to diplay title instead of name (#1069)
ActionParameterItem changed so that if there is
a title it will be displayed, otherwise displays name.
2019-11-19 20:05:45 -08:00
boylea
b1b2f4662b Fixed image scatter plot export bug (#88) 2019-11-19 20:03:15 -08:00
Paul Müller
267a0af8e7 Reset currentRow and currentCol on clear (#1076) 2019-11-19 08:21:36 -08:00
Ogi Moore
60c760a2e0
Add RemoteGraphicsView to __init__.py (#1066) 2019-11-19 08:15:27 -08:00
Daniel Hrisca
15a1f5af94 improve performance of updateData PlotCurveItem (saves about 2us per call) (#1079)
* improve performance of updateData PlotCurveItem (saves about 2us per call)
2019-11-19 08:14:53 -08:00
Ogi Moore
2203933393
Declare scipy optional (#1067)
* Replace use of scipy.random with numpy.random

* Update README to reflect scipy being an optional depenency
2019-11-12 09:02:08 -08:00
Kenneth Lyons
ec445e7601 HDF5Exporter handling of ragged curves with tests (#1072)
* HDF5Exporter handles ragged curves by saving them into different datasets based on their names.

* Add HDF5Exporter tests

* Document HDF5Exporter

* Fix tmp file path
2019-11-12 09:01:49 -08:00
Kenneth Lyons
faef56c3e7 Qulogic py3 fixes (#1073)
* py3k: Remove reduce calls.

* py3k: Remove compatibility sortList function.

Sorting by key has existed since Python 2.4.

* Remove unnecessary sys.path manipulation.

This file doesn't have any __main__ code to run anyway.

* Use context manager
2019-11-12 08:45:42 -08:00
Kenneth Lyons
f5e25622a7 Validate min/max text inputs in ViewBoxMenu (#1074) 2019-11-12 08:36:16 -08:00
Ales Erjavec
a65b8c91f7 Add simple test for setEnableMenu 2019-11-06 10:59:51 +01:00
Ales Erjavec
50cf2f561f Move common code to _applyEnableMenu 2019-11-06 10:58:00 +01:00
Jan Kotanski
6848824557 add bookkeeping exporter parameters (#1023) 2019-11-02 22:00:06 -07:00
Eugene Prilepin
b1df230964 Remove 'global' for CONFIG_OPTIONS because it is redundant for dict (#1055) 2019-11-02 21:51:20 -07:00
wuyuanyi135
cb4d9b23b2 fix flowchart context menu redundant menu (#1060) 2019-11-02 21:36:58 -07:00
Ales Erjavec
a84953530f Fix: setEnableMenu in ViewBox 2019-10-28 14:30:22 +01:00
Agamemnon Krasoulis
f2740f7e69 Fix typo in documentation (#1062) 2019-10-22 09:45:45 -07:00
2xB
ed6586c7dd Removed unnecessary enlargement of bounding box (#1048) 2019-09-30 09:15:03 -07:00
Kenneth Lyons
61ec73a741 Close windows at the end of test functions (#1042)
* Close windows at the end of test functions

* Can't show window deletion warning during interpreter shutdown
starting
2019-09-27 13:37:40 -07:00
Mi!
071e429535 makeRGBA/ImageItem: Applying alpha mask on numpy.nan data values (#406)
* Applying alpha mask on numpy.nan data values

* Typesafe, checking for `data.dtype.kind`
2019-09-27 13:31:47 -07:00
2xB
96a4270a30 Fix HistogramLUTWidget with background parameter (#953)
* Fix HistogramLUTWidget with background parameter

HistogramLUTWidget cannot be initialized with the `background` parameter, because all parameters are also passed to the constructor of HistogramLUTItem which does not have a `background` parameter. This pull request fixes that issue by defining `background` explicitly as parameter in the function header.

Closes #175

* Added test for HistogramLUTWidget initialization with background

* Fixed Python2 compatibility

* Do not pg.exit() after test

* Moved test_histogramlutwidget to widget tests
2019-09-27 13:02:54 -07:00
Daniel Hrisca
aa3a5d3995 remote legacy work-around for old numpy errors (#1046)
* remote legacy work-around for old numpy errors

* forgot to remove the numpy_fix import

* require numyp >= 1.8.0
2019-09-26 10:08:43 -07:00
Kenneth Lyons
3ae58a065e
Merge pull request #1045 from ixjlyons/fix-525
Raise AttributeError in __getattr__
2019-09-25 17:57:12 -07:00
Kenneth Lyons
b57d45df6d The lazier way 2019-09-23 21:25:52 -07:00
Kenneth Lyons
ed264802a2 Raise AttributeError in __getattr__ 2019-09-23 21:19:01 -07:00
Kenneth Lyons
c9d27dc153
Merge pull request #1044 from ixjlyons/plotcurveitem-paintgl-fix
Fix PlotCurveItem.paintGL
2019-09-22 17:21:03 -07:00
Kenneth Lyons
b7f1aa88cd Cast to int after division 2019-09-22 17:03:30 -07:00
lidstrom83
df28c41d4b Make DockArea compatible with Qt Designer (#158) 2019-09-13 23:08:28 -07:00