[IPython-dev] multiple figures in notebook

Cesar B Rocha crocha at ucsd.edu
Mon Mar 16 04:03:39 EDT 2015


I'm plotting multiple figures in the same notebook (v3) cell (I'm using
chrome). The figures correctly appear inline in the output box. But when I
scroll up some of the figures overshadow the previous cell. The figures
used to stay in the box in v2. Is this a bug?

import numpy as np
from numpy import pi,cos
import matplotlib.pyplot as plt
%matplotlib inline

x = np.linspace(0,1,100)
k = 2*pi*np.arange(10)

for i in range(k.size):
    plt.figure()
    plt.plot(x,cos(k[i]*x))
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ipython-dev/attachments/20150316/8ac15619/attachment.html>


More information about the IPython-dev mailing list