Merge pull request #1652 from takluyver/i1649

Fix missed in traitlets API overhaul
Min RK 10 years ago committed by GitHub
commit 5d3054cb38

@ -844,7 +844,7 @@ class NotebookApp(JupyterApp):
@observe('pylab')
def _update_pylab(self, change):
"""when --pylab is specified, display a warning and exit"""
if new != 'warn':
if change['new'] != 'warn':
backend = ' %s' % change['new']
else:
backend = ''

Loading…
Cancel
Save