### Bug summary When using the `toolmanager` toolbar with the Tk backend the "Configure subplots" dialog works at first but then freezes. ### Code for reproduction ```python import matplotlib.pyplot as plt plt.rcParams['toolbar'] = 'toolmanager' plt.matplotlib.use('tkagg') plt.plot((1,2)) plt.show() ``` ### Actual outcome Open the dialog and move some sliders - after a short while the dialog freezes. ### Expected outcome Dialog should not freeze. ### Additional information It works fine without the toolmanager. ### Operating system Windows ### Matplotlib Version 3.5.1 ### Matplotlib Backend TkAgg ### Python version 3.8.2 ### Jupyter version - ### Installation pip