[Matplotlib-users] Line collections vs a collection of lines

2007-08-20 Thread Anthony M. Floyd
I'm trying to figure out the best way to handle the following situation: I have a wxApp that embeds a matplotlib figure in a panel. I use custom code to control adding and removing series from the axes in this figure, with some pretty fine grained control on when things get drawn, zoomed, etc.

Re: [Matplotlib-users] Line collections vs a collection of lines

2007-08-20 Thread Anthony M. Floyd
-Original Message- From: Eric Firing [mailto:[EMAIL PROTECTED] [snip] It probably comes down to program simplicity and readability, not speed, in your case. Eric Hi Eric, Thanks for this. That's essentially the decision I had reached, but I was also wondering if I'd missed

Re: [Matplotlib-users] Line collections vs a collection of lines

2007-08-20 Thread Eric Firing
Anthony M. Floyd wrote: -Original Message- From: Eric Firing [mailto:[EMAIL PROTECTED] [snip] It probably comes down to program simplicity and readability, not speed, in your case. Eric Hi Eric, Thanks for this. That's essentially the decision I had reached, but I

Re: [Matplotlib-users] Line collections vs a collection of lines

2007-08-20 Thread Anthony M. Floyd
[snip] Are you aware that the plot method can plot the columns of 2-D arrays? Any kwargs apply to all the lines. When plot does this, it makes a list of lines, not a line collection, so it is similar to looping over a set of single plot commands. There is no particular speed