Commit Graph

2322 Commits

Author SHA1 Message Date
Luke Campagnola
57f2f876d3 clean up exceptions on windows (don't show syntax error from eval attempt) 2020-07-17 09:55:46 +03:00
Luke Campagnola
7eb2bf6306 reload fix - don't reload files with no pyc 2020-07-17 09:54:51 +03:00
Luke Campagnola
31b0ddcee6 ptime fix - return precision clock time on py3 2020-07-17 09:53:19 +03:00
Etienne Dumur
72c03ea096 Rename PColorMesh example 2020-07-17 08:18:52 +02:00
Ogi Moore
3c6dad376a
Merge pull request #1317 from Dennis-van-Gils/master
Fix line width not being set
2020-07-16 14:20:26 -07:00
Dennis van Gils
603e1b98bc Fix line width not being set 2020-07-16 21:13:33 +02:00
Etienne Dumur
2822790087 Correct Python 2 compatibilities and improve comments 2020-07-15 10:32:29 +02:00
Etienne Dumur
f8aee11190 Add PColorMeshItem example to the app 2020-07-15 10:30:41 +02:00
Kenneth Lyons
d70e870a44
Merge pull request #1309 from ibrewster/polylineroifix
Properly retain and use hoverPen argument in _PolyLineSegment
2020-07-13 21:28:06 -07:00
Kenneth Lyons
b058d032d1 Fix some warnings 2020-07-13 21:09:31 -07:00
Luke Campagnola
d3ed45574e
Merge pull request #1312 from campagnola/acq4-merge
TargetItem fix + performance improvements
2020-07-13 17:33:07 -07:00
Luke Campagnola
4562c06576
Merge pull request #1311 from campagnola/acq4-merge
performance fix for histogramlutitem
2020-07-13 16:59:05 -07:00
Luke Campagnola
f015f0879e TargetItem fix + performance improvements
- avoid extra work when setLabelAngle would have no effect
- fix errors from bad parent transform (usually the displaying widget has not been given a size yet)
2020-07-13 16:37:29 -07:00
Luke Campagnola
cb48ec94b7 performance fix for histogramlutitem
setImageItem is now able to detect trival color gradients like gradientChanged has previously.
2020-07-13 16:25:43 -07:00
Luke Campagnola
dce9a5bf0c
Merge pull request #1310 from campagnola/acq4-merge
Acq4 merge
2020-07-13 16:13:38 -07:00
Luke Campagnola
51bb8b9bb8
Merge pull request #1307 from campagnola/acq4-merge
Fix reload to use mod.__cache__ to get name of pyc files
2020-07-13 15:47:15 -07:00
Luke Campagnola
268ba38543 docstring update 2020-07-13 15:31:47 -07:00
Luke Campagnola
5723853308 revert behavior: reload modules with no pyc
Should fix unit test. Also: return a structure from reloadAll describing reasons for failure of each module to reload.
2020-07-13 15:29:00 -07:00
Luke Campagnola
605b0b2144 code cleanup 2020-07-13 13:45:31 -07:00
Luke Campagnola
0df7cbcd06 Fix Vector.__init__ for Qt5 + cleanup 2020-07-13 13:10:58 -07:00
Israel Brewster
3878ab6946 Properly retain and use hoverPen argument in PolyLineSegment function of PolyLineROI 2020-07-13 12:10:49 -08:00
Luke Campagnola
78702eea8b code cleanup 2020-07-13 13:06:27 -07:00
Luke Campagnola
eb4dd5626f SimpleParameter.setValue: coerce value for int parameters 2020-07-13 13:05:56 -07:00
Luke Campagnola
f9327ea910 Rate-limit event processing inside ProgressDialog 2020-07-13 12:55:12 -07:00
Luke Campagnola
ab5a2c5d11 BusyCursor: only restore cursor after all nested levels have exited 2020-07-13 12:53:59 -07:00
Luke Campagnola
6214ff6de8 Add Pa to units 2020-07-13 12:53:06 -07:00
Luke Campagnola
e2669f074b Add test for functions.subArray 2020-07-13 12:52:55 -07:00
Luke Campagnola
421b7bdc78 add SignalProxy.block for temporarily disabling signal forwarding 2020-07-13 12:52:25 -07:00
Luke Campagnola
993871b1ae InfinifteLine.setPos add support for array arg 2020-07-13 12:51:03 -07:00
Luke Campagnola
893c85053f debug.ThreadTrace add support for thread names 2020-07-13 12:50:24 -07:00
Luke Campagnola
c51a84ae4e Fix console exception filtering for py3 2020-07-13 12:49:57 -07:00
Luke Campagnola
0bc186fe7d Fix reload to use mod.__cache__ to get name of pyc files 2020-07-13 12:43:11 -07:00
Ogi Moore
7a154f74fa
Merge pull request #1304 from berr/patch-1
Import ThreadSafeTimer in __init__
2020-07-08 10:10:32 -07:00
Felipe Silveira
9a83b72e9d
Import ThreadSafeTimer in __init__
This fixes issue #1303
2020-07-08 10:03:32 -03:00
Ogi Moore
c03018005a
Merge pull request #1291 from ixjlyons/roi-axisorder
Get ImageView ROI working with both row and col major data
2020-07-07 10:54:26 -07:00
Luke Campagnola
49dd944d10
Merge pull request #1297 from campagnola/acq4-merge2
ArrowItem performance
2020-07-06 03:59:41 -07:00
Luke Campagnola
41f0623014
Merge pull request #1296 from campagnola/acq4-merge
update h5py deps in metaarray
2020-07-06 02:34:23 -07:00
Luke Campagnola
6a5e7cfee5 ArrowItem performance
- Avoid updates that would have no effect
- Raise exception on invalid arguments to setStyle
2020-07-06 01:27:43 -07:00
Luke Campagnola
5e971b646f update h5py deps in metaarray
- update h5py usage to support latest version
- bugfix in __getitem__ for fancy indexing
- code cleanup
2020-07-06 01:08:01 -07:00
Luke Campagnola
46dafe4803
Merge pull request #1295 from campagnola/acq4-merge
TextItem performance
2020-07-06 01:00:04 -07:00
Luke Campagnola
268d25c125 TextItem performance
Avoid expensive work if textitem is not visible, or when setPlainText / setHtml would have no effect.
2020-07-06 00:24:13 -07:00
Luke Campagnola
fc31b5c50d
Merge pull request #1294 from campagnola/acq4-merge
console fixes
2020-07-06 00:19:13 -07:00
Luke Campagnola
f9d149fe32
Merge pull request #1293 from campagnola/py3-fixes
some lingering py3 fixes
2020-07-05 23:20:52 -07:00
Luke Campagnola
6f69b11c26 console fixes
- add fileno method since console occludes sys.stdout
- fix editor spawning
- don't store sys.stdout, since this is not guaranteed to be the real stdout
2020-07-05 23:06:05 -07:00
Luke Campagnola
ac417a6567 py3 fixes 2020-07-05 22:52:15 -07:00
Ogi Moore
da15f09479
Merge pull request #1289 from ksunden/dai_si_prefix
Disable autoSIPrefix for DateAxisItem by default
2020-07-05 10:50:54 -07:00
Kenneth Lyons
6052ba7668 Get ImageView ROI working with both row and col major data 2020-07-04 23:14:08 -07:00
Kyle Sunden
a4dbcfb1e1 Disable autoSIPrefix for DateAxisItem by default
When adding a label, it adds the offset for the epoch seconds, (1e09), which is not helpful for date axes
2020-07-03 17:02:58 -05:00
Luke Campagnola
b79c979663
Merge pull request #1283 from zhujun98/fix_array_to_qpath
Fix arrayToPath
2020-06-29 16:35:27 -07:00
zhujun98
b61c7c1e39 Fix the cases with connect being 'pairs' and 'finite' 2020-06-29 23:20:29 +02:00