From e7a33b24dc70ebb900aa46a1727b3a852bc5dd95 Mon Sep 17 00:00:00 2001 From: Olivier Grisel <olivier.grisel@ensta.org> Date: Sun, 15 Apr 2012 17:01:58 +0300 Subject: [PATCH] FIX: #774 Add documentation for lprun config in qtconsole and notebook --- doc/developers/performance.rst | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/doc/developers/performance.rst b/doc/developers/performance.rst index beac7f43a0..3db7349f56 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:: -- GitLab