##// END OF EJS Templates
update pylab messages...
MinRK -
Show More
@@ -129,6 +129,7 b' class PylabMagics(Magics):'
129
129
130 gui, backend, clobbered = self.shell.enable_pylab(args.gui, import_all=import_all)
130 gui, backend, clobbered = self.shell.enable_pylab(args.gui, import_all=import_all)
131 self._show_matplotlib_backend(args.gui, backend)
131 self._show_matplotlib_backend(args.gui, backend)
132 print ("Populating the interactive namespace from numpy and matplotlib")
132 if clobbered:
133 if clobbered:
133 warn("pylab import has clobbered these variables: %s" % clobbered +
134 warn("pylab import has clobbered these variables: %s" % clobbered +
134 "\n`%pylab --no-import-all` prevents importing * from pylab and numpy"
135 "\n`%pylab --no-import-all` prevents importing * from pylab and numpy"
@@ -137,5 +138,5 b' class PylabMagics(Magics):'
137 def _show_matplotlib_backend(self, gui, backend):
138 def _show_matplotlib_backend(self, gui, backend):
138 """show matplotlib message backend message"""
139 """show matplotlib message backend message"""
139 if not gui or gui == 'auto':
140 if not gui or gui == 'auto':
140 print ("using matplotlib backend: %s" % backend)
141 print ("Using matplotlib backend: %s" % backend)
141
142
General Comments 0
You need to be logged in to leave comments. Login now