Upgrading PySide from 6.9.0 to 6.9.1 leads to unexpected behavior of Widgets, different for each Widget used. I have observed the PlotWidget zooming without input and ImageItem in a ViewBox being unresponsive.
Short description
Upgrading PySide from 6.9.0 to 6.9.1 leads to unexpected behavior
Code to reproduce
import numpy as np
import pyqtgraph as pg
from PySide6.QtWidgets import QMainWindow
class MainWindow(QMainWindow):
def __init__(self):
super().__init__()
self.setWindowTitle("PyQtGraph Example")
self.setGeometry(100, 100, 800, 600)
# Create a PlotWidget
self.plot_widget = pg.PlotWidget()
self.setCentralWidget(self.plot_widget)
# Generate some data
x = np.linspace(0, 10, 100)
y = np.sin(x)
# Plot the data
self.plot_widget.plot(x, y, pen="b", symbol="o")
if __name__ == "__main__":
# Create the application and main window
app = pg.mkQApp()
window = MainWindow()
window.show()
app.exec()
Expected behavior
No erratic behavior
Real behavior
Erratic behavior
Tested environment(s)
- PyQtGraph version: 0.13.7
- Qt Python binding: PySide6 6.9.1 Qt 6.9.1
- Python version: 3.13
- NumPy version: 2.2.6
- Operating system: Rocky 9.6
- Installation method: uv pip
Upgrading PySide from 6.9.0 to 6.9.1 leads to unexpected behavior of Widgets, different for each Widget used. I have observed the PlotWidget zooming without input and ImageItem in a ViewBox being unresponsive.
Short description
Upgrading PySide from 6.9.0 to 6.9.1 leads to unexpected behavior
Code to reproduce
Expected behavior
No erratic behavior
Real behavior
Erratic behavior
Tested environment(s)