Show More
@@ -511,15 +511,16 b' class NotebookApp(BaseIPythonApplication):' | |||
|
511 | 511 | """ |
|
512 | 512 | ) |
|
513 | 513 | def _pylab_changed(self, name, old, new): |
|
514 |
"""when --pylab is specified, display a warning and |
|
|
514 | """when --pylab is specified, display a warning and exit""" | |
|
515 | 515 | if new != 'warn': |
|
516 | 516 | backend = ' %s' % new |
|
517 | 517 | else: |
|
518 | 518 | backend = '' |
|
519 |
self.log. |
|
|
520 |
self.log. |
|
|
519 | self.log.error("Support for specifying --pylab on the command line has been removed.") | |
|
520 | self.log.error( | |
|
521 | 521 | "Please use `%pylab{0}` or `%matplotlib{0}` in the notebook itself.".format(backend) |
|
522 | 522 | ) |
|
523 | self.exit(1) | |
|
523 | 524 | |
|
524 | 525 | def _notebook_dir_changed(self, name, old, new): |
|
525 | 526 | """Do a bit of validation of the notebook dir.""" |
General Comments 0
You need to be logged in to leave comments.
Login now