I\'ve been following \'python for data analysis\'. On pg. 345, you get to this code to plot returns across a variety of stocks. However, the plotting function does not work for
I seemed to resolve the issue (well at least in my case).
I'm running IPython on a mac using python 2.7 and was getting the same error.
It did seem to be an issue with the backend as when I looked at the "dock", quite a few instances of the Python Launcher had been opened (not sure why this happened in the first place though).
Forcing those to close caused the python kernel to restart and has seemed to have fixed my issue.
The inline code is still in place and plots are showing correctly.