Commit Graph

1446 Commits

Author SHA1 Message Date
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
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
Luke Campagnola
ee0ea56695 PlotItem.addLegend will not try to add more than once 2017-09-15 09:05:24 -07:00
Luke Campagnola
698f37bd10 code cleanup 2017-09-15 09:00:59 -07:00
Luke Campagnola
fedecc5808 minor fixes 2017-09-15 09:00:50 -07:00
Luke Campagnola
d65026f73d add floor division node 2017-09-15 08:59:31 -07:00
Luke Campagnola
237b848837 Allow binary operator nodes to select output type 2017-09-15 08:59:15 -07:00
Luke Campagnola
19fc846b90 gaussian node uses internal gaussianFilter function 2017-09-15 08:58:29 -07:00
Luke Campagnola
2016dc0df1 fix nodes spinbox handling 2017-09-15 08:56:45 -07:00
Luke Campagnola
868d9ebf29 Add several new data nodes 2017-09-15 08:55:17 -07:00
Luke Campagnola
d081e54956 EvalNode: add method to set code 2017-09-15 08:54:50 -07:00
Luke Campagnola
9d0779cc32 Merge pull request #560 from acq4/debugging-updates
Debugging updates
2017-09-13 22:21:41 -07:00
Luke Campagnola
1911a26f84 Allow Mutex to be used as drop-in replacement for python's Lock 2017-09-13 22:14:29 -07:00
Luke Campagnola
e06fc101f5 Add function to enable faulthandler on all threads 2017-09-13 22:13:50 -07:00
Luke Campagnola
6d05a2f8e1 Merge pull request #559 from acq4/export-updates
Export updates
2017-09-13 21:54:30 -07:00
Luke Campagnola
6287874b5c Minor fix - check for ragged array length when exporting to hdf5 2017-09-13 21:37:19 -07:00
Luke Campagnola
5d6be5796b image export: add option to invert pixel values (but not hues) 2017-09-13 21:36:34 -07:00
Luke Campagnola
daedbf68db Merge pull request #558 from acq4/canvas-updates
Clean up canvas codebase
2017-09-13 21:34:07 -07:00
Luke Campagnola
3ddba03d08 Merge pull request #557 from campagnola/console-updates
Allow console stack to be set outside of exceptions
2017-09-13 21:07:43 -07:00
Luke Campagnola
d8ffc21446 Refactor canvas ui to make it easier to embed / extend 2017-09-13 21:04:43 -07:00
Luke Campagnola
65b5b6a7bc Add CanvasItem.saveState/restoreState 2017-09-13 21:04:04 -07:00
Luke Campagnola
ee117fd957 Give CanvasItem alpha/setAlpha methods 2017-09-13 21:02:58 -07:00
Luke Campagnola
e88e3a4232 code cleanup 2017-09-13 21:01:38 -07:00
Luke Campagnola
39d4c82d67 Fix stack clearing button 2017-09-13 20:58:10 -07:00
Luke Campagnola
0517665473 Allow console to display any frame stack (even without an exception) 2017-09-13 20:50:31 -07:00
Luke Campagnola
1f77433755 Merge pull request #555 from acq4/multiprocess-updates
Multiprocess updates
2017-09-13 20:46:52 -07:00
Luke Campagnola
182e939785 Fix color output handling 2017-09-13 09:13:31 -07:00
Luke Campagnola
5fb5858802 Allow better control over sys.path in subprocesses
Either add path to pyqtgraph, or copy entire path (anything else still requires manual effort)
2017-09-13 09:13:03 -07:00
Luke Campagnola
16781636bf API: calling remote methods in 'sync' mode no longer returns future on timeout
When calling a function with callSync='sync', the assumption is that we either block until the result arrives or raise an exception if no result arrives. Previously, a timeout woud cause the Future object to be returned instead.
2017-09-13 09:09:05 -07:00
Luke Campagnola
2a70fd9932 Fix some issues with closing subprocesses 2017-09-13 09:05:54 -07:00
HashSplat
f77d7409ba Fixed legend size after remove item
When the legend removed an item with a large label name the legend would not shrink in width. This fix uses the sample and label minimum width to allow the legend to shrink when an item is removed.
2017-09-12 17:15:26 -04:00
Luke Campagnola
30997d999d Fix unit test for python 2.6 2017-09-03 23:18:17 -07:00