Hello,
the plot seems to ignore the maxBounds argument when I pass it to the LineSegmentROI instance.
Here is the code I am using:
...
kwargs = {"movable": False, "maxBounds": QRect(0,0, 1000,1000)}
roi = pg.LineSegmentROI(positions=((100, 100), (300, 100)), **kwargs)
display.addItem(roi)
display.show()
However, no matter which bounds I sent. I can drag the handles of the roi where ever I want.
How do I need to send the maxBounds correctly?
Thanks a lot!