[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: previous_relevant_patch_ind

Re: [Matplotlib-users] `matplotlib`: `self._chachedRenderer` fails `assert self._cachedRenderer is not None`, when calling `draw_artist` on a patch?

2015-05-16 Thread bmer
Sorry Tom -- I missed your message, it seems. I suppose I'll leave the SO link for now because I got an answer which I accepted. In the future, I'll post the question here itself. -- View this message in context: http://matplotlib.1069221.n5.nabble.com/matplotlib-self-chachedRenderer-fails-asse

[Matplotlib-users] `matplotlib`: `self._chachedRenderer` fails `assert self._cachedRenderer is not None`, when calling `draw_artist` on a patch?

2015-05-10 Thread bmer
Hi all, I wrote up my question in detail on StackOverflow. , but I figured it would be a good idea to "cross-post" it here, by providing a link. Please feel free to respond her