[IPython-User] Subplot legend not working on embedded plots?

Adam Hughes hughesadam87@gmail....
Wed Jul 25 13:14:13 CDT 2012


Hi,

I'm using notebook with inline plots:

ipython notebook --pylab inline

And noticed that if I create a subplot, then try to add a legend using
ax.legend(), the legend doesn't appear.

something like:

fig, ax=plt.subplots(1, figsize=(12,12) )
ax.plot(x,y)
ax.legend()


Am I doing something incorrectly or is this a known bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.scipy.org/pipermail/ipython-user/attachments/20120725/a7c8d748/attachment.html 


More information about the IPython-User mailing list