I'd like to start using Emacs (Spacemacs) for my python work, however, a lot of what I do requires me to interact with the data in the IPython REPL, plot inline graphs, etc.
For example, I might have a python script that filters some signals, then create multiple plots of them, then jump into the REPL to rearrange some data and create more plots.
I know I can just run an IPython interpreter inside Emacs, but it doesn't seem to handle inline plotting. New plots just appear in new windows, and if I'm creating many of them sequentially I have to close the old window before the new plot window shows up.
Ive tried setting
python-shell-interpreter-args "-pylab" in my config file, but it doesn't prevent plots from showing in new popup windows.
What do I need to add/change to have plots be shown inside Emacs?
I'd like to stay away from IPython notebooks if at all possible because they're not as portable as regular
.py script files.