gracefully handle conflicts between ROOT and matplotlib GUI threads