config options crashWarning behavior (0.13.7)

21 views
Skip to first unread message

Phillip Miller

unread,
Oct 30, 2024, 7:44:49 PM10/30/24
to pyqtgraph
Hi all,

I am a little confused about the behavior of crash warning config option -- I was assuming any warning indicates a pattern that is fixable but I am stuck on the following warning that comes up in my own app, and in the first attached examples too.

When I insert ```pg.setConfigOptions(crashWarning=True)``` into the 'Basic Plotting' example under pyqtgraph.examples.run(), It will run gives me the warning "Warning: ViewBox should be closed before application exit." upon closing out of the main window. In my own pyside6 application I tried to catch this by the aboutToClose method and doing a unregister call on the view boxes but this gets triggered too late. Any advice? Should I just turn these warnings off / ignore this one?

Thanks in advance!
Reply all
Reply to author
Forward
0 new messages