Re: [Matplotlib-users] What are my options for speeding up a custom function called by `FuncAnimation`?

2015-05-19 Thread Thomas Caswell
What are you plotting? How big is this list that the loops are taking appreciable amounts of time?!? Are we talking seconds here or ms? Have you done enough profiling to know exactly which line in here are slow? I don't quite understand the `np.ravel` calls. You might do better either with one

[Matplotlib-users] What are my options for speeding up a custom function called by `FuncAnimation`?

2015-05-16 Thread bmer
This is what my animation function (i.e. the one that gets called by `FuncAnimation`) looks like: import numpy as np ... def mpl_animation_function(n): print animating timestep: , n if n 0: