Show More
@@ -154,8 +154,10 b' class PylabMagics(Magics):' | |||||
154 |
|
154 | |||
155 | gui, backend, clobbered = self.shell.enable_pylab(args.gui, import_all=import_all) |
|
155 | gui, backend, clobbered = self.shell.enable_pylab(args.gui, import_all=import_all) | |
156 | self._show_matplotlib_backend(args.gui, backend) |
|
156 | self._show_matplotlib_backend(args.gui, backend) | |
157 | print ("%pylab is deprecated, use %matpltolib inline and import the required libraries.") |
|
157 | print( | |
158 | print ("Populating the interactive namespace from numpy and matplotlib") |
|
158 | "%pylab is deprecated, use %matpltolib inline and import the required libraries." | |
|
159 | ) | |||
|
160 | print("Populating the interactive namespace from numpy and matplotlib") | |||
159 | if clobbered: |
|
161 | if clobbered: | |
160 | warn("pylab import has clobbered these variables: %s" % clobbered + |
|
162 | warn("pylab import has clobbered these variables: %s" % clobbered + | |
161 | "\n`%matplotlib` prevents importing * from pylab and numpy" |
|
163 | "\n`%matplotlib` prevents importing * from pylab and numpy" |
General Comments 0
You need to be logged in to leave comments.
Login now