diff options
author | zreszela <zreszela@cells.es> | 2014-12-16 16:07:37 +0100 |
---|---|---|
committer | cpascual <cpascual@cells.es> | 2015-01-20 11:06:45 +0100 |
commit | 71dc440ea89f8d5f39299052aaa085b779119ea9 (patch) | |
tree | 79102c235ffec64b0d8cf8ae0428f2c56694563d /src/sardana | |
parent | 11cfc206e3c208ef29bb1c0caa115dbfd9189437 (diff) |
Expose proper magic functions in case of spsplot
Fix copy & paste typo.
spsplot magic expose magic.spsplot instead of magic.post_mortem
(this was affecting only ipython with newstyle magics)
Diffstat (limited to 'src/sardana')
-rw-r--r-- | src/sardana/spock/ipython_00_11/genutils.py | 2 | ||||
-rw-r--r-- | src/sardana/spock/ipython_01_00/genutils.py | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/sardana/spock/ipython_00_11/genutils.py b/src/sardana/spock/ipython_00_11/genutils.py index 236fff3b..5a6f41ee 100644 --- a/src/sardana/spock/ipython_00_11/genutils.py +++ b/src/sardana/spock/ipython_00_11/genutils.py @@ -815,7 +815,7 @@ def load_ipython_extension(ipython): debug = IPython.core.magic.line_magic(magic.debug) www = IPython.core.magic.line_magic(magic.www) post_mortem = IPython.core.magic.line_magic(magic.post_mortem) - spsplot = IPython.core.magic.line_magic(magic.post_mortem) + spsplot = IPython.core.magic.line_magic(magic.spsplot) macrodata = IPython.core.magic.line_magic(magic.macrodata) edmac = IPython.core.magic.line_magic(magic.edmac) showscan = IPython.core.magic.line_magic(magic.showscan) diff --git a/src/sardana/spock/ipython_01_00/genutils.py b/src/sardana/spock/ipython_01_00/genutils.py index 198dd39b..b95e96ae 100644 --- a/src/sardana/spock/ipython_01_00/genutils.py +++ b/src/sardana/spock/ipython_01_00/genutils.py @@ -820,7 +820,7 @@ def load_ipython_extension(ipython): debug = IPython.core.magic.line_magic(magic.debug) www = IPython.core.magic.line_magic(magic.www) post_mortem = IPython.core.magic.line_magic(magic.post_mortem) - spsplot = IPython.core.magic.line_magic(magic.post_mortem) + spsplot = IPython.core.magic.line_magic(magic.spsplot) macrodata = IPython.core.magic.line_magic(magic.macrodata) edmac = IPython.core.magic.line_magic(magic.edmac) showscan = IPython.core.magic.line_magic(magic.showscan) |