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! -- You received this message because you are subscribed to the Google Groups "pyqtgraph" group. To unsubscribe from this group and stop receiving emails from it, send an email to pyqtgraph+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/pyqtgraph/ae18fb83-e993-47db-8ad8-7951dce315ea%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.