Commit Graph

1851 Commits

Author SHA1 Message Date
Luke Campagnola
ce15f4530a Fix: image levels reset to mono after drag release 2017-10-04 08:34:42 -07:00
Luke Campagnola
f1de464c46 Preserve levels when switching between mono and rgba modes 2017-10-04 08:30:38 -07:00
Luke Campagnola
e6507f8601 try a different approach to managing nested bars.. 2017-10-03 17:14:32 -07:00
Luke Campagnola
f4c3d88251 Add option to join nested progress dialogs into a single window 2017-10-03 15:22:31 -07:00
Luke Campagnola
45999e0f2b Merge pull request #580 from campagnola/multiprocess-pyqt-setapi
Allow calling sip.setapi in subprocess before pyqtgraph is imported
2017-10-03 13:15:18 -07:00
Luke Campagnola
a04db63775 Include level mode in save/restore 2017-10-03 08:27:56 -07:00
Luke Campagnola
21bda49a29 Docstring updates 2017-10-03 08:27:36 -07:00
Luke Campagnola
faca369a8d code cleanup 2017-10-03 08:17:22 -07:00
Luke Campagnola
c3e52f15b0 Fix ImageItem rgb histogram calculation 2017-10-03 08:16:36 -07:00
Luke Campagnola
fcf4503671 Fix: avoid division by 0 when image is single valued 2017-10-02 08:58:03 -07:00
Luke Campagnola
812a65461d action parameter minor ui adjustment 2017-09-29 08:59:37 -07:00
Luke Campagnola
ce7594b697 Add GroupParameter.sigAddNew signal 2017-09-29 08:59:14 -07:00
Luke Campagnola
2754427b25 systemsolver: add method for checking constraints / DOF 2017-09-29 08:58:00 -07:00
Luke Campagnola
eb1b7fc8bb add systemsolver copy method 2017-09-29 08:56:44 -07:00
Luke Campagnola
09b8e662b1 systemsolver: minor fixes 2017-09-29 08:56:28 -07:00
Luke Campagnola
bf31a5ba99 Parameter.child raises KeyError if requested child name does not exist 2017-09-29 08:55:36 -07:00
Luke Campagnola
0f910c45d1 Make parameter name,value inint args go through setValue and setName 2017-09-29 08:54:33 -07:00
Luke Campagnola
3609f9df3e Fix colormapwidget saveState 2017-09-29 08:51:26 -07:00
Luke Campagnola
e7a92f4720 Add Combobox save/restoreState methods
Also allow tuple as input type in addition to list
2017-09-29 08:50:12 -07:00
Luke Campagnola
a2bb944e78 Make PathButton margin customizable 2017-09-29 08:48:35 -07:00
Luke Campagnola
7c9107fa5d use ndarray() strides argument to construct subarray
previously this was done manually (and imperfectly)
2017-09-29 08:45:33 -07:00
Luke Campagnola
aad1c737c3 eq(): better performance by avoiding array comparison when shapes do not match 2017-09-28 09:11:07 -07:00
Luke Campagnola
2a56435475 MetaArray: make it possible to append multiple axis values
Example use case: taking an image stack where each frame has a time value AND a position. Previously we could only append new time values.
2017-09-28 09:09:17 -07:00
Luke Campagnola
60ce541df6 minor argument type checking 2017-09-28 09:05:31 -07:00
Luke Campagnola
0de0bf4c44 Fix: very small ellipse/circle ROIs have bad click areas 2017-09-28 09:05:08 -07:00
Luke Campagnola
97b71a2b28 Add RulerROI 2017-09-28 09:03:47 -07:00
Luke Campagnola
4d0f3b5821 Code cleanup 2017-09-28 09:03:24 -07:00
Luke Campagnola
3c2c970a6b Remove spiral ROI 2017-09-28 09:00:57 -07:00
Luke Campagnola
e885236bd5 Add PlotCurveItem composition mode 2017-09-28 08:57:42 -07:00
Luke Campagnola
6cd9440299 LegendItem: make it possible to remove items directly, rather than by name 2017-09-28 08:56:06 -07:00
Arthur Crippa Búrigo
ef98718851 BarGraphItem can plot horizontal bars.
Proposed fix to https://github.com/pyqtgraph/pyqtgraph/issues/576
2017-09-27 22:13:59 -03:00
Luke Campagnola
6e22524ac2 Update histogramlut example to allow rgb mode 2017-09-26 08:50:31 -07:00
Luke Campagnola
bde358ffaf Fix colormapwidget.restorestate 2017-09-26 08:34:37 -07:00
Luke Campagnola
4a4a7383bc ImageView: add support for RGB levels mode 2017-09-26 08:33:34 -07:00
Luke Campagnola
07d1a62bfc ImageItem: add support for rgb handling by histogramlut 2017-09-26 08:31:28 -07:00
Luke Campagnola
6962777b92 HistogramLUTItem: add rgb level mode, save/restore methods 2017-09-26 08:29:04 -07:00
Luke Campagnola
f627a6a447 Merge pull request #569 from acq4/plotitem-legend-fix
PlotItem.addLegend will not try to add more than once
2017-09-22 22:17:28 -07:00
Luke Campagnola
cebc292b59 Merge pull request #567 from acq4/flowchart-updates
Flowchart updates
2017-09-22 21:51:42 -07:00
Luke Campagnola
689c5d088c Merge pull request #570 from acq4/viewbox-fix
ViewBox: make sure transform is up to date in all mapping functions
2017-09-22 21:51:13 -07:00
Luke Campagnola
d7d2d5ac9e Merge pull request #568 from acq4/linearregion-updates
Linearregion updates
2017-09-22 21:50:01 -07:00
Luke Campagnola
b5e3391453 Allow calling sip.setapi in subprocess before pyqtgraph is imported 2017-09-22 16:44:53 -07:00
Luke Campagnola
98cdc65049 Update LinearRegionItem to support new InfiniteLine features
Also add methods for setting hover brush and configurable line swap behavior (block/push/sort)
2017-09-21 09:04:06 -07:00
HashSplat
9bfdda06a6 Fixed AxisMouse drag issue
Issue where MouseDragEvent would only work for 1 AxisItem. Allowed the MouseDragEvent to propagate to other AxisItems. I had this issue by setting the ViewBox background color and changed the AxisItem ZValue to make the AxisItems visible which made the AxisItem receive all of the MouseDragEvents and only one Axis would actually allow dragging.
2017-09-20 17:15:54 -04:00
Luke Campagnola
0321ecb215 Merge pull request #564 from campagnola/console-fix
Allow console exception label to wrap text
2017-09-19 10:10:43 -07:00
Luke Campagnola
fe1dff5ad1 Allow console exception label to wrap text
This prevents the console window from growing if the exception message contains a very long line
2017-09-19 09:51:17 -07:00
Luke Campagnola
90661b32d9 Merge pull request #563 from campagnola/viewbox-fix
Prevent viewbox auto-scaling to items that are not in the same scene.
2017-09-19 09:49:12 -07:00
Luke Campagnola
4beea8a153 Prevent viewbox auto-scaling to items that are not in the same scene.
This can happen when an item that was previously added to the viewbox
is then removed using scene.removeItem().
2017-09-18 13:31:32 -07:00
Luke Campagnola
653c91a683 InfiniteLine: add markers and ability to limit drawing region 2017-09-15 09:14:26 -07:00
Luke Campagnola
ea9e8a720b ArrowItem: rotate painterpath instead of the item
This makes it easier to attach text to the arrow.
2017-09-15 09:09:45 -07:00
Luke Campagnola
b88a96c08c ViewBox: make sure transform is up to date in all mapping functions 2017-09-15 09:06:18 -07:00