pijyoi

Results 145 comments of pijyoi

If you are willing to give it a try, the following patch adds a ```GLViewWindow``` class. Not saying that this patch will enter pyqtgraph, as it appears that the circumstances...

You could replace ```python date_axis = YearAxisItem(orientation='bottom') date_axis.setTickSpacing(major = (31536000, 0)) ``` with either ```python date_axis = YearAxisItem(orientation='bottom') date_axis.setTickSpacing(levels = [(31536000, 0)]) ``` or ```python date_axis = pg.DateAxisItem() ```

Seems like it's not the first time that this particular plot got broken #1494

It seems to work if you add the roi to the viewbox first. ```python import pyqtgraph as pg pg.mkQApp() win = pg.GraphicsView() vb = pg.ViewBox(invertY=True) win.setCentralItem(vb) roi = pg.RectROI((0, 0),...

A MWE would be the following ```python from PySide6 import QtGui app = QtGui.QGuiApplication([]) t = app.thread() ``` i.e. the program will segfault on program end if you take the...

Looks like a bug report got filed https://bugreports.qt.io/browse/PYSIDE-2254 and a fix is pending https://codereview.qt-project.org/c/pyside/pyside-setup/+/465817

The fix has been merged to 6.4 https://code.qt.io/cgit/pyside/pyside-setup.git/commit/?h=6.4&id=4ee2bfc29b9367f14a60a6b81a83bd92d7c24f25 So the skipped tests can probably be reinstated when 6.4.3 gets released.

how about using pillow? ```python import numpy as np import pyqtgraph as pg from PIL import Image data = np.random.random((500, 500, 3)) ii = pg.ImageItem(data) ii.render() pimg = Image.fromqimage(ii.qimage) pimg.putalpha(0)...

@ntjess , have you tried your code on master? Quite a bit of changes due to #1466 and #1501 Also, ```ii.image``` can be any dtype and shape can be (h,...

```getPixmap()``` calls ```render()``` under the hood and uses the resulting ```self.qimage```. So the following code would have made a round-trip from QImage to Pixmap back to QImage, so why not...