diff --git a/doc/developers/performance.rst b/doc/developers/performance.rst index beac7f43a0b1c173c1a118b329720a65e0e6aa59..3db7349f5698ddb179c6b18c169af7a59048d5a6 100644 --- a/doc/developers/performance.rst +++ b/doc/developers/performance.rst @@ -203,13 +203,12 @@ us install ``line-prof`` and wire it to IPython:: c.TerminalIPythonApp.extensions = [ 'line_profiler_ext', ] + c.InteractiveShellApp.extensions = [ + 'line_profiler_ext', + ] This will register the ``%lprun`` magic command in the IPython terminal - client. - - You can do a similar operation ``ipython_notebook_config.py`` and - ``ipython_qtconsole_config`` to register the same extensions for the - HTML notebook and qtconsole clients. + application and the other frontends such as qtconsole and notebook. Now restart IPython and let us use this new toy::