[Matplotlib-users] when the same Line2D is plot on two subplots, it disappears on the two subplots

2008-12-11 Thread TP
Hi, I use matplotlib 0.91.2. When I plot the same Line2D on two subplots, it disappears: execute the following script: ### from pylab import * ion() f = figure() s = f.add_subplot(211) curve = matplotlib.lines.Line2D([0,1],[0,1],color='m') s.add_line( curve ) s2 =

Re: [Matplotlib-users] when the same Line2D is plot on two subplots, it disappears on the two subplots

2008-12-11 Thread John Hunter
On Thu, Dec 11, 2008 at 10:19 AM, TP [EMAIL PROTECTED] wrote: Hi, I use matplotlib 0.91.2. When I plot the same Line2D on two subplots, it disappears: execute the following script: ### from pylab import * ion() f = figure() s = f.add_subplot(211) curve =