Re: [Matplotlib-users] determining of a line segment is a Line2D

2011-08-19 Thread Benjamin Root
On Mon, Aug 15, 2011 at 4:56 PM, Mathew Yeates wrote: > Hi > Is there a simple way to do the following > > l1=Line2D(xdata=[1,2,3],ydata=[4,5,6]) > > l2=Line2D(xdata = [1].ydata=[3]) > > if l2 in l1 #error, Line2D not iterable > > > -Mathew > > Haven't tried it, but you might want to look at matp

[Matplotlib-users] determining of a line segment is a Line2D

2011-08-15 Thread Mathew Yeates
Hi Is there a simple way to do the following l1=Line2D(xdata=[1,2,3],ydata=[4,5,6]) l2=Line2D(xdata = [1].ydata=[3]) if l2 in l1 #error, Line2D not iterable -Mathew -- uberSVN's rich system and user administration cap