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
Kenneth Lyons
3cf2845743
Improve control over ROI/handle pens ( #1285 )
...
* Exposed ability to set pens for handles and hovering for ROIs
* Consistent color format for pen creation
* Exposed ability to set pens for handles and hovering for ROIs
* Consistent color format for pen creation
* Add handleHoverPen arg to ROI and rename Handle arg to hoverPen
Co-authored-by: nmearl <nchlsearl@gmail.com>
2020-06-28 22:44:13 -07:00
Ogi Moore
3947d34ae4
Merge pull request #1284 from ixjlyons/roi-getarrayregion-api
...
Update doc strings to clarify getArrayRegion API for ROI subclasses
2020-06-28 21:58:08 -07:00
Kenneth Lyons
8a3d4bab2f
Update doc strings to clarify getArrayRegion API for ROI subclasses
2020-06-28 14:39:12 -07:00
zhujun98
7016d1c6c3
Fix arrayToPath
...
Use the correct format for streaming QByteArray to QPainterPath.
2020-06-28 21:23:06 +02:00
Kenneth Lyons
4110b3e539
Handle axis SI prefix scaling in MatplotlibExporter ( #1282 )
...
* Handle axis SI prefix scaling in MatplotlibExporter
* Added some MatplotlibExporter tests and added matplotlib to CI deps
* Install mpl with pip instead of conda
* Cleanup
2020-06-28 08:51:34 -07:00
Kenneth Lyons
96d1ef986f
Merge pull request #330 from lidstrom83/Parameter.defaultBtn_autoDefault
...
Set parameter's default button autoDefault value to False
2020-06-27 15:12:03 -07:00
Ogi Moore
a719a06b8b
Merge pull request #467 from meganbkratz/derivativePlots_cleanup
...
Add dy/dx and y vs. y` plot modes to context menus from plots.
2020-06-27 12:50:44 -07:00
Ogi Moore
264d63e90e
Update PyQt5, PySide2, PySide1 Templates, apply else statement
2020-06-26 23:51:09 -07:00
Ogi Moore
677ef5132c
Merge pull request #1276 from j9ac9k/implement-pr-307
...
fix problems with high freequency game mouse
2020-06-25 20:52:10 -07:00
Ogi Moore
ce6da3e93f
First pass at implementing the diff from PR307
2020-06-24 23:34:17 -07:00
Kenneth Lyons
b41c4a71e5
Fix Parameter.hasDefault ( #1275 )
...
When a default value is not set, hasDefault returns False. If
default=None is passed, hasDefault still returns False.
2020-06-24 21:35:05 -07:00
Ogi Moore
302d66dd67
Add tickAlpha to AxisItem Style Options ( #1274 )
...
* Add tickAlpha setting to AxisItem style
* reworking setTickAlpha docs, redo logic based on types
Co-authored-by: demonchild2112 <denverlovesyou@gmail.com>
2020-06-24 17:42:28 -07:00
Ogi Moore
43328eb053
Merge pull request #1270 from j9ac9k/implement-pr-403
...
Implement pr 403
2020-06-24 15:56:59 -07:00
Ogi Moore
b8abd5d02e
Don't let axis item reduce space
2020-06-24 15:40:01 -07:00
Ogi Moore
14d5085636
Merge branch 'develop' into derivativePlots_cleanup
2020-06-23 23:03:56 -07:00
Ogi Moore
fd0bbeb9db
Merge pull request #1272 from maxkl/develop
...
LegendItem: fix clear() not closing widgets
2020-06-23 21:04:35 -07:00
Max Klein
78d11f8a71
LegendItem: fix clear() not closing widgets
2020-06-23 17:01:02 +02:00
Ogi Moore
a192707654
Implement PR403-diff
2020-06-22 23:02:48 -07:00
Ogi Moore
55e89bccef
Merge pull request #117 from onlyjus/feature-resizeFlowchartNode
...
Feature: Flow chart nodes resize based on inputs/outputs
2020-06-22 22:49:15 -07:00
Karl Georg Bedrich
1666407a89
ImageView.Timeline better visibility and fixed ( #400 )
...
* make imageView-timeline unmovable
* imageview.timeline now visible over white background
* activate splitter when roi visible
* Re-add roiCurves
Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
2020-06-22 22:48:54 -07:00
Ogi Moore
91ee83ab36
Merge pull request #402 from vladimir-kraus/develop
...
added method clear() to GLViewWidget
2020-06-22 20:58:04 -07:00
Ogi Moore
c190cb4186
Merge pull request #816 from fake-name/develop
...
Avoid constructing shadow pens when no shadow pen is set
2020-06-22 20:54:44 -07:00
Ogi Moore
1fe3731ec2
Merge branch 'master' into develop
2020-06-22 20:37:55 -07:00
Ogi Moore
6643d73903
Merge pull request #1268 from ixjlyons/dock-container-none
...
Check for container before setting dock orientation
2020-06-22 19:58:59 -07:00
jeremysee2
f81768ac59
Issue #1260 : Added exception to checkOpenGLVersion to highlight OpenGL ES incompatibility on Raspberry Pi ( #1264 )
...
* checkOpenGLVersion exception for OpenGL ES
* checkOpenGLVersion exception
* checkOpenGLVersion exception
* python 2/3 compatibility
* Refactoring checkOpenGLVersion
Since the original goal of `checkOpenGLVersion` is to re-throw an exception or notify the user about a wrong OpenGL version in another exception, this commit unifies the two exception messages from `checkOpenGLVersion`.
Further, it corrects ">" to ">=" in the error message (originally my fault).
And it corrects verNumber to be an integer and not a boolean (there was a " < 2" too much at the end of the line).
Finally, since the opportunity was there, the method is further refactored, comments and a docstring are added.
Co-authored-by: 2xB <2xb@users.noreply.github.com>
2020-06-21 13:59:44 -07:00
Kenneth Lyons
0b98140893
Check for container before setting dock orientation
2020-06-20 12:27:29 -07:00
Ogi Moore
e5a1327041
Merge pull request #1267 from ixjlyons/fix-plotcurveitem-sigclicked
...
Add mouse event to PlotCurveItem sigClicked signature
2020-06-20 08:19:51 -07:00
Kenneth Lyons
352a8a425a
Add mouse event to PlotCurveItem sigClicked signature
2020-06-19 23:00:02 -07:00
Ogi Moore
f5b8a150c0
Merge pull request #1265 from lamby/963124-python-pyqtgraph-please-make-the-build-reproducible
...
Make the documentation reproducible
2020-06-19 22:21:19 -07:00
Chris Lamb
e6c8046320
Make the documentation reproducible
...
Whilst working on the Reproducible Builds effort [0] we noticed that pyqtgraph
could not be built reproducibly. This is because it generates copyright years
from the current build date and therefore will vary on when you build it.
This commit uses SOURCE_DATE_EPOCH [1] for the "current" build date.
This was originally filed in Debian as #963124 [2].
[0] https://reproducible-builds.org/
[1] https://reproducible-builds.org/specs/source-date-epoch/
[2] https://bugs.debian.org/963124
2020-06-19 12:56:14 +01:00
Ogi Moore
0c08adc411
Merge pull request #1257 from VesnaT/tickFont_painter
...
AxisItem: Make painter (tick) font dependent
2020-06-15 07:54:25 -07:00
Vesna Tanko
ad4f796e32
AxisItem: Make painter tick font dependent
2020-06-15 11:03:50 +02:00
Ogi Moore
362dc93a9d
Merge pull request #1256 from j9ac9k/Implement-PR-317
...
Implement diff from PR 317
2020-06-13 21:49:33 -07:00
Ogi
8b557af23f
Implement diff from PR 317
2020-06-13 21:21:29 -07:00
Ogi Moore
ecd0642ca9
Merge pull request #977 from campagnola/pseudoscatter-performance
...
Add a faster method for computing pseudoscatter
2020-06-13 21:08:33 -07:00
Ogi Moore
1744bb09a9
Merge pull request #1251 from dearkarm/patch-1
...
DateAxisItem: Parameterize utcOffset during construction
2020-06-12 22:53:20 -07:00
Ogi Moore
5f5803264b
Merge pull request #1252 from j9ac9k/implement-pr-336
...
fix-incorrect-tick-text-boundaries-calculation
2020-06-12 22:52:46 -07:00
Karl Georg Bedrich
3a758cac96
NEW options for LegendItem ( #395 )
...
* NEW options for LegendItem
* * changed 'drawFrame' into 'frame'
* added **kwargs to plotItem.addLegend
* added (frame=False, colCount=2) in legend example
* more elegant solution for legend.getLabel
* repaired getLabel
ItemSample.item == plotitem
Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
2020-06-12 22:40:20 -07:00
Ogi Moore
cee27b6268
fix-incorrect-tick-text-boundaries-calculation
2020-06-12 22:28:26 -07:00
Ogi Moore
e1f6c08365
Merge pull request #551 from bensondaled/develop
...
added fps class variable to ImageView to enable consistent playback f…
2020-06-12 21:55:46 -07:00
carmazine
8da7c166c8
Parameterize utcOffset during construction
...
Allows for control over timezone offset in a simple, optional manner
2020-06-12 22:46:09 +02:00
Ogi Moore
158efcf65c
Merge pull request #1249 from j9ac9k/Implement-160
...
Implement PR160 - clear current SpotItems
2020-06-11 23:18:39 -07:00
Ogi
001d91c2f2
Implement PR160 - clear current SpotItems
2020-06-11 22:56:20 -07:00
Ogi Moore
4b484ae46d
Merge pull request #150 from lidstrom83/ViewBox_panning_fix
...
Speed up ViewBox panning
2020-06-11 22:33:49 -07:00
Ogi Moore
b9a0fac815
devicePixelRatio is only accessible in __init__
2020-06-11 21:32:12 -07:00
Ogi Moore
d6f16a7d56
Merge pull request #1247 from j9ac9k/fix-1246
...
Restore the now-deprecated PlotWindow and ImageWindow classes
2020-06-11 21:20:20 -07:00
Ogi Moore
308bb8d1ff
Merge branch 'master' into develop
2020-06-11 21:11:51 -07:00