also needed to change pyplot backend to qt