Avoiding matplotlib.pyplot.show(block=False) call when an inline matplotlib backend is detected (in order to help with ipython integration)