PyQt5 and matplotlib graph only updates when screen gets maximized or minimized

visit shbcf.ru