Workaround strange matplotlib behavior.
Set the backend.