From e52191c6dcf59d711f3f40ebcfc5566983ac67fa 2013-01-04 17:57:33 From: Steven Silvester Date: 2013-01-04 17:57:33 Subject: [PATCH] BUG: Octavemagic inline plots not working on Windows: Fixed --- diff --git a/IPython/extensions/octavemagic.py b/IPython/extensions/octavemagic.py index d8798cb..5597099 100644 --- a/IPython/extensions/octavemagic.py +++ b/IPython/extensions/octavemagic.py @@ -258,7 +258,7 @@ class OctaveMagics(Magics): self._oct.put(input, val) # generate plots in a temporary directory - plot_dir = tempfile.mkdtemp() + plot_dir = tempfile.mkdtemp().replace('\\', '/') if args.size is not None: size = args.size else: