I\'m trying to show a plot during an analysis, which is supposed to be blocking until the plot is closed, then the code should continue. I\'m using PySimpleGUI and matplotli