from ipython_config_numeric import * Global.exec_lines.extend([ 'import matplotlib', 'from matplotlib import pyplot as plt', 'from matplotlib.pyplot import *' ])