renderer for use with LineCollection object

Hi all,

I'm trying to use a LineCollection object to speed up the drawing of a bunch of line segments. I've coded it all up, but when I call the draw method, it expects me to pass it a renderer. I assume this is another object instance of some sort, but I haven't found the appropriate documentation that gives me some hint of how to do this.

Any help is appreciated.

thanks,
trevis

Travis,

Do you need to call the draw method explicitly? The more usual way to use a LineCollection is to add it to the axes so that the draw method is called automatically when the figure is rendered. In the examples directory, see line_collection.py, line_collection2.py, and collections_demo.py.

Eric

Trevis Crane wrote:

ยทยทยท

Hi all,

I'm trying to use a LineCollection object to speed up the drawing of a bunch of line segments. I've coded it all up, but when I call the draw method, it expects me to pass it a renderer. I assume this is another object instance of some sort, but I haven't found the appropriate documentation that gives me some hint of how to do this.

Any help is appreciated.

thanks,
trevis

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
matplotlib-users List Signup and Options