From d0b635cfb7f4dd0fdfc82cd613433e4ab2652226 Mon Sep 17 00:00:00 2001 From: Joseph Martinot-Lagarde Date: Tue, 7 Jun 2016 13:41:36 +0200 Subject: [PATCH] Fix undefined `backends` --- spyderlib/widgets/externalshell/start_ipython_kernel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spyderlib/widgets/externalshell/start_ipython_kernel.py b/spyderlib/widgets/externalshell/start_ipython_kernel.py index 3185ad02233..2862eabe1fe 100644 --- a/spyderlib/widgets/externalshell/start_ipython_kernel.py +++ b/spyderlib/widgets/externalshell/start_ipython_kernel.py @@ -92,7 +92,7 @@ def kernel_config(): "%matplotlib {0}".format(mpl_backend)) # Inline backend configuration - if backends[backend_o] == 'inline': + if mpl_backend == 'inline': # Figure format format_o = CONF.get('ipython_console', 'pylab/inline/figure_format', 0)