From 18bd308c2c4eb428f1718510d165b22a26b9f757 2020-08-27 19:14:32 From: Matthias Bussonnier Date: 2020-08-27 19:14:32 Subject: [PATCH] Also reformat with black as there is a new release of black. --- diff --git a/IPython/core/magics/pylab.py b/IPython/core/magics/pylab.py index 231a14f..0e9688e 100644 --- a/IPython/core/magics/pylab.py +++ b/IPython/core/magics/pylab.py @@ -154,8 +154,10 @@ class PylabMagics(Magics): gui, backend, clobbered = self.shell.enable_pylab(args.gui, import_all=import_all) self._show_matplotlib_backend(args.gui, backend) - print ("%pylab is deprecated, use %matpltolib inline and import the required libraries.") - print ("Populating the interactive namespace from numpy and matplotlib") + print( + "%pylab is deprecated, use %matpltolib inline and import the required libraries." + ) + print("Populating the interactive namespace from numpy and matplotlib") if clobbered: warn("pylab import has clobbered these variables: %s" % clobbered + "\n`%matplotlib` prevents importing * from pylab and numpy"