Skip to content
Snippets Groups Projects
Commit efd918bb authored by Jameson Rollins's avatar Jameson Rollins
Browse files

cli: fix plotting bug in interactive shell

newlines '\n' in the string provided to ipshell.ex cause it to choke.
parent eb7f0502
No related branches found
No related tags found
Loading
......@@ -297,7 +297,7 @@ In [.]: plt.savefig("foo.pdf")
ipshell.enable_pylab()
if args.plot:
ipshell.ex("fig = plot_noise(freq, traces, **plot_style)")
ipshell.ex("plt.title('{}')".format(plot_style['title']))
ipshell.ex("plt.title(plot_style['title'])")
ipshell()
##########
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment