It was unclear why the function check_gtk() was added in the first
place, but plt.show() blocked when using "ipython -gthread" without
also, I just want to note here that users will still experience blocking
behaviour if they use e.g "ipython -gthread" but their matplotlib is set
to some other backend by default (say "WX").