Commit Graph

2037 Commits

Author SHA1 Message Date
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
Ogi Moore
d2ef213f0d
Merge pull request #1238 from ksunden/pre-0.11.0
Final preparations for 0.11.0 release
2020-06-08 16:42:16 -07:00
Kyle Sunden
e1f2cdce74 Final preparations for 0.11.0 release
Intend to tag and upload after this is merged
2020-06-08 18:25:45 -05:00
Ogi Moore
fe620e8a2d
Merge pull request #1231 from j9ac9k/update-readme-for-0.11-release
Update README for 0.11 release
2020-06-08 09:47:45 -07:00
Ogi Moore
ba6f6512a9
Merge pull request #1235 from pyqtgraph/revert-391-plotitem2
Revert "changed structure to redefine axis via plotitem.setAxes"
2020-06-07 20:54:32 -07:00
Ogi Moore
5b5749aa0b Revert "changed structure to redefine axis via plotitem.setAxes (#391)"
This reverts commit bb21791c71.
2020-06-07 20:29:28 -07:00
Ogi Moore
4a5af52fca Update README for 0.11 release 2020-06-06 20:34:21 -07:00
Kyle Sunden
f43b297312
Update changelog with changes since v0.11.0rc0 (#1230)
* Update changelog with changes since v0.11.0rc0

* tab to spaces
2020-06-06 20:06:14 -07:00
Ogi Moore
717298f6e4
Merge pull request #1229 from pyqtgraph/rtd
Wrap text in tables in docs
2020-06-06 17:12:07 -07:00
Kenneth Lyons
3cad91b5f1 Wrap text in tables in docs. 2020-06-06 16:25:36 -07:00
Ogi Moore
6bd0299152
Merge pull request #1228 from ixjlyons/legenditem_improvements
Minor improvements to LegendItem
2020-06-06 16:25:30 -07:00
Kenneth Lyons
120d251a25 Minor improvements to LegendItem.
- Adds doc strings for user-facing methods so they appear in the
  documentation.
- Allows PlotItem.addLegend to accept the same arguments as LegendItem
  constructor for convenience.
- Fixes a bug for adding a BarGraphItem (which doesn't have an antialias
  option) to LegendItem
2020-06-06 15:56:01 -07:00
Ogi Moore
1c67d3ea2f
Merge pull request #1225 from 2xB/fix-mergeerror-1175
ParameterTree: Fix custom context menu
2020-06-06 11:38:48 -07:00
2xB
78929adbea ParameterItem: self.param.opts -> opts
Using `opts` as alias for `self.param.opts`, following the style of `updateFlags`.
2020-06-06 16:04:05 +02:00
2xB
d86bb65520 ParameterTree: Fix custom context menu
This issue was introduced in merging develop into #1175.
While refactoring for the merge, the change in namespace was not
correctly attributed, leading to the parameter `opts` to be assumed
in local namespace when it isn't.
2020-06-06 15:52:55 +02:00
Ogi Moore
ffc271d6c7
Merge pull request #1203 from meganbkratz/imageAxisOrder_bugfix
Image axis order bugfix
2020-06-05 21:36:00 -07:00
Ogi
c0b9bfa040 Remove commented out line 2020-06-05 21:00:18 -07:00
Ogi Moore
d282f8aba8
Remove workaround for memory leak in QImage (#1223)
Co-authored-by: Ognyan Moore <omoore@sensoryinc.com>
2020-06-05 20:57:20 -07:00
Luke Campagnola
932b9757c8
Merge pull request #1211 from campagnola/pyside2-uic
Add support for running pyside2-uic binary to dynamically compile ui files
2020-06-04 01:07:39 -07:00
Ogi Moore
47f06e78be
Merge branch 'develop' into pyside2-uic 2020-06-03 21:48:16 -07:00
Ogi
a171a098ad Expand CI to test latest PySide2 2020-06-03 21:27:49 -07:00
Ogi
3ed8c49599 test_loadUiType should run on 5.14.2.2 2020-06-03 21:22:01 -07:00
Ogi
f8c107e7b2 Do not emit loadUiType warning for pyside2 5.14.2.2 2020-06-03 20:18:17 -07:00
Ogi
ab96ca1d30 Examples Should Be Tested on PySide2 5.14.2.2 2020-06-02 22:44:17 -07:00
Ogi Moore
0e62913b88
Merge pull request #1222 from campagnola/spw-fix
py3 fix for ScatterPlotWidget.setSelectedFields
2020-06-01 19:16:43 -07:00
Luke Campagnola
ed36a0194b py3 fix for scatterplotwidget.setselectedfields 2020-06-01 18:38:50 -07:00
Karl Georg Bedrich
ca9b0c7910
new method 'getAxpectRatio' with code taken from 'setAspectLocked' (#392)
Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
2020-06-01 11:24:18 -07:00
Adam Strzelecki
983cc1695e
Patch/window handling (#468)
* Do not wrap PlotView/ImageView

There is no need to wrap PlotView/ImageView into QMainWindow, since
only purpose of the QMainWindow is some default menu toolbar & menu
handling, that is not used by PyQtGraph anyway.

Moreover, every parent-less Qt widget can become window, so this
change just use PlotView/ImageView as windows, removing extra
complexity, eg. method forwarding, self.win property.

Another benefit of this change, it that these windows get initial
dimensions and titles as they were designed in .ui file.

* Properly cleanup on ImageView.close()

We should not close explicitly child widgets or clear scene, otherwise
Qt will deallocate children views, and cause "wrapped C/C++ object of
type ImageItem has been deleted" error next time we call close()
and/or some other methods.

All children, including self.ui.roiPlot, self.ui.graphicsView will be
closed together with its parent, so there is no need to close them
explicitly.

So the purpose of close it to reclaim the memory, but not to make the existing ImageView object dysfunctional.

* Remove references to plot & image windows after close

PyQtGraph images and plots module list variables are currently holding
references to all plots and image windows returned directly from main
module. This does not seem to be documented however, and causes the Qt
windows to be not released from memory, even if user releases all own
references.

This change removes the references from images/plots list once window
is closed, so when there is no other reference, window and all related
memory is reclaimed.

* Change all UI forms title from Form to PyQtGraph

Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
2020-06-01 11:23:18 -07:00
Karl Georg Bedrich
bb21791c71
changed structure to redefine axis via plotitem.setAxes (#391)
* changed structure to redefine axis via
plotitem.setAxes

* cleanuup

* remove old axesitems before adding new ones

* DEBUGGED plotitem.setAxes
NEW AxisItem.setOrientation (needed by plotitem.setAxes)
show/hide right axes after .setAxes()

Co-authored-by: Ogi Moore <ognyan.moore@gmail.com>
2020-06-01 11:12:52 -07:00
Karl Georg Bedrich
68b8dbac1a
moved some functionality from method 'export' to new method (#390)
* moved some functionality from method 'export' to new method
'getSupportedFormats' making it accessible from outside
2020-06-01 11:05:39 -07:00
Ogi Moore
245d89033e
Identify pyqt5 515 ci issue (#1221)
* move forward pyvirtualdisplay

* Try installing things per QTBUG-84489

* Debug plugins to 1

* Removing all the other packages, adding libxcb-xfixes0

* adding libxcb-icccm4 per plugin debug

* adding libxcb-image0, restoring pyvirtualdisplay to older version

* now adding libxcb-keysyms1

* libxcb-randr0

* adding libxcb-render-util0

* adding libxcb-xinerama0

* Restore Configs, Properly Name Latest Pipeline
2020-06-01 00:09:16 -07:00
Ogi Moore
b64984b321
Merge pull request #151 from lidstrom83/custom_PlotItem_for_PlotWidget
Optionally provide custom PlotItem to PlotWidget
2020-05-31 21:05:59 -07:00
Ogi Moore
a27506209b
Merge pull request #393 from radjkarl/gradient
NEW show/hide gradient ticks NEW link gradientEditor to others
2020-05-31 21:03:27 -07:00
Zach Lowry
c903546679
Fix duplicate menus in GradientEditorItem (#444)
* Fix duplicate menus in GradientEditorItem

Add call to ev.accept in Tivk.mouseClickEvent to prevent parent menu from opening on a right click of a Tick.

Co-authored-by: Ogi <ognyan.moore@gmail.com>
2020-05-31 17:39:51 -07:00
Ogi Moore
c2cc92da52
Merge pull request #507 from alfonnews/Fix_Dock_Close_Event_QLabel_still_running
Fix Dock close event QLabel still running with no parent
2020-05-31 00:50:15 -07:00
Alberto Fontán Correa
1f9ccccfd0 Fix Dock close event QLabel still running with no parent 2020-05-31 00:26:19 -07:00
Ogi Moore
e70d1b5c75
Merge pull request #755 from ChristophRose/patch-1
Check lastDownsample in viewTransformChanged
2020-05-30 22:30:43 -07:00
ChristophRose
ed009d3779 Check lastDownsample in viewTransformChanged
Add a check in the viewTransformChanged function to only force a rerender when the downsampling factor changed.
Previously simply moving the image around or zooming in/out without changing the downsampling factor would force a complete rerendering of the image, which was very slow with large images. This way, the expensive rerender is only forced if necessary.
2020-05-30 22:15:52 -07:00