issue_comments: 412980710
This data as json
html_url | issue_url | id | node_id | user | created_at | updated_at | author_association | body | reactions | performed_via_github_app | issue |
---|---|---|---|---|---|---|---|---|---|---|---|
https://github.com/pydata/xarray/issues/2355#issuecomment-412980710 | https://api.github.com/repos/pydata/xarray/issues/2355 | 412980710 | MDEyOklzc3VlQ29tbWVudDQxMjk4MDcxMA== | 18018386 | 2018-08-14T19:01:06Z | 2018-08-14T19:01:06Z | NONE | Yes, this would have created 3 animations. Matplotlib requires a reference to an animation to be held. So,
You might be able to add blocks in an existing animation by:
Another thing to consider is that animations also take an optional "Timeline" which holds the values of time at each frame of the animation, which can be displayed using the timeline_slider method. Though, I think I have an idea for a title block.... (lots of ideas on the go for the next release of animatplot). From what I understand of xarray, the timeline object can be constructed using coords. If you return blocks, the you may want to return this timeline object. I'd probably lean towards xarray returning the animation. In that case, the internal implementation may want to create a new matplotlib figure for each of the animation. |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
349026158 |