I posted this a while back to the MatPlotLib Issues. Reposting here because it was suggested that this was a wxPython issue: matplotlib/matplotlib#17513. import wx import wx.lib.scrolledpanel as ...
There are issues with the wxPython 4 backend where event handlers are not being cleaned up correctly. It appears that all of the event handlers explicitly added by TraitsUI are being dealt with ...