Commit Graph

2141 Commits

Author SHA1 Message Date
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
Ogi
4dc0865bae Restore the now-deprecated PlotWindow and ImageWindow classes 2020-06-11 20:55:28 -07:00
Ogi Moore
12a7c449f1
Give ability to hide/show individual spots (#1245)
Co-authored-by: dlidstrom <lidstrom83@gmail.com>
2020-06-10 23:31:39 -07:00
Ogi Moore
dbdd5d9a39
Peque scatter symbols (#1244)
* Added arrow symbols for the ScatterPlotItem

* Fixed arrows rotation in scatter plots

* Added new symbols to example

Co-authored-by: Miguel Sánchez de León Peque <msdeleonpeque@gmail.com>
2020-06-10 23:03:43 -07:00
Ogi Moore
f762f489dc
Merge pull request #1243 from j9ac9k/implement-PR-143-with-changes
Implement suggested changes in PR 143
2020-06-10 21:07:08 -07:00
Ogi
05f8921555 Implement suggested changes in PR 143 2020-06-10 20:50:04 -07:00
Ogi Moore
79ce0c46b5
Merge pull request #1242 from j9ac9k/implement-PR-142-with-changes
Emit the event with sigClicked in PlotCurveItem
2020-06-10 20:34:43 -07:00
Ogi
2e8dce2fc2 Emit the event with sigClicked in PlotCurveItem 2020-06-10 20:08:34 -07:00
Ogi Moore
1f00578cf1
Merge pull request #157 from lidstrom83/GradientWidget_widgetGroupInterface
Provide widgetGroupInterface to GradientWidget
2020-06-10 20:02:38 -07:00
Maurice van der Pot
e18af48b8d
Implement headWidth parameter for arrows (#385)
Although the documentation used to say that specifying tipAngle would
override headWidth, headWidth was never used. The new behaviour is that
tipAngle will be used, with a default value of 25, unless headWidth is
specified.

Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
2020-06-09 22:04:29 -07:00
Ogi Moore
dcef886a44
Merge pull request #800 from ReehcQ/develop
add legend for bar graph and update the examples
2020-06-09 21:35:44 -07:00
Ogi Moore
517adc87c0
Merge branch 'master' into develop 2020-06-09 20:56:51 -07:00
Ogi Moore
26d54e7cc0
Merge pull request #503 from kiwi0fruit/patch-1
Fix bug in RawImageWidget.py
2020-06-09 20:50:58 -07:00
Ogi Moore
4d01023e77
Merge pull request #1241 from j9ac9k/update-xvfb-config-for-ci
Use older pytest-xvfb for py2 configs
2020-06-09 20:49:27 -07:00
Ogi
258da19886 Use older pytest-xvfb for py2 configs 2020-06-09 20:27:22 -07:00
Ogi Moore
f7127c0bc7
Merge branch 'master' into patch-1 2020-06-09 20:21:46 -07:00
Ogi Moore
b52809d879
Merge pull request #1240 from pyqtgraph/develop
Reset self._needsUpdate in GLImageItem after updating
2020-06-09 20:12:43 -07:00
Karl Georg Bedrich
2848d451f6
draw connector lines between gradient and region with anti-aliasing (#496)
Co-authored-by: serkgb <serkgb@J873GY1-2.stf.nus.edu.sg>
Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
2020-06-08 23:33:12 -07:00
Ogi Moore
b12f9174bc
Merge pull request #389 from ales-erjavec/scroll-phase-fix
Revert "ignore wheel events in GraphicsView if mouse disabled"
2020-06-08 23:22:04 -07:00
alfon_news
fc7921100e
Fix siScale imprecision errors (#508)
* Fix siScale imprecision errors

* Implement 2xB suggested change

Co-authored-by: Alberto Fontán Correa <afontan@com.uvigo.es>
Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
2020-06-08 22:51:14 -07:00
Ogi Moore
0dcd79bbc6
Merge pull request #1239 from j9ac9k/PR-343-update
PlotItem doesn't add item if already there
2020-06-08 22:18:15 -07:00
Ogi
66d8943317 PlotItem doesn't add item if already there 2020-06-08 21:50:29 -07:00
Ogi Moore
8fce6c6ad8
Merge pull request #345 from fschill/develop
performance improvement of GLImageItem
2020-06-08 21:40:28 -07:00
Kyle Sunden
f76fb3ac72 Merge develop into master for release 0.11.0 2020-06-08 18:45:37 -05:00