Hello everybody, to reset data I'm using pylab.setp instead of the methods line.set_xdata, line.set_ydata believing there would be no obvious difference in behaviour. (Maybe I not really get what is going on in matplotlib.artist.py.)
The taken time is of quite big importance to me because I really often reset my data. That's why I set up a little program investigating the taken time using plot, setp, line.set_xdata/ydata ( I attached it). The result really surprises me (using module time): time >plot< 9.7 sec time >setp< 9.9 sec <- slower than plot! time >.set< 5.0 sec So my question is: Is this the expected / desired behaviour? best regards and thanks in advance for any hints, Matthias
compare_plot_setp_used_time.py
Description: application/python
------------------------------------------------------------------------- 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 https://lists.sourceforge.net/lists/listinfo/matplotlib-users