Here's a better patch that will only warn when show() is run directly from the python or ipython consoles.
Here's a better patch that will only warn when show() is run directly from the python or ipython consoles.