Migrate BlitManager
from docs to library
#22183
Labels
Milestone
BlitManager
from docs to library
#22183
@tacaswell wrote:
That
BlitManager
class looks pretty useful for 'live' plots that are not timed (e.g. we want to plot at the rate that data becomes available). Maybe the class could be put inmatplotlib.animation
?Originally posted by @joukewitteveen in #10187 (comment)
BlitManager
is a class that was written for pedagogical and documentation reasons in #10187. When I wrote it I had an idea that it would be generally useful, but was not sure (and did not put in the work to harden / test the code). We now have a user who asking for it so this seems like a good time to re-consider!The use case that @joukewitteveen has is being on the receive side of a push notification that there is new data, but I think this would make sense anytime that a user wants more control over the timing of the animation (you could also do this with clever use of concurrency + generators but that gets complicated fast).
The work that needs to be done:
canvas.flush_events
?)We may want to do this in the main repo, but I could also see this fitting in mpl-gui ( https://github.com/tacaswell/mpl-gui) at least to start
The text was updated successfully, but these errors were encountered: