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/2030#issuecomment-377571072,https://api.github.com/repos/pydata/xarray/issues/2030,377571072,MDEyOklzc3VlQ29tbWVudDM3NzU3MTA3Mg==,13205162,2018-03-30T17:02:40Z,2018-03-30T17:03:09Z,CONTRIBUTOR,"@philippjfr Even with the alteration I still get a `HoloMap type not found` (using HV 1.9.5) error. I can still see the animation, though. And switching to 'Agg' did allow me to save the animation in mp4, which is good. All workarounds aside, this works pretty well. Thanks a lot to all.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,309965118
https://github.com/pydata/xarray/issues/2030#issuecomment-377565812,https://api.github.com/repos/pydata/xarray/issues/2030,377565812,MDEyOklzc3VlQ29tbWVudDM3NzU2NTgxMg==,13205162,2018-03-30T16:40:02Z,2018-03-30T16:40:02Z,CONTRIBUTOR,"@philippjfr Thanks for the comment. I hand't found anything like that. For me, `%%output` isn't a recognized magic command, and the `renderer.save` command fails for me with a tkinter-related error (can't invoke ""wm"" command), so I really couldn't see anything yet. But I believe I'll be able to solve that eventually.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,309965118
https://github.com/pydata/xarray/issues/2030#issuecomment-377543021,https://api.github.com/repos/pydata/xarray/issues/2030,377543021,MDEyOklzc3VlQ29tbWVudDM3NzU0MzAyMQ==,13205162,2018-03-30T15:00:44Z,2018-03-30T15:00:44Z,CONTRIBUTOR,"I didn't know holoviews existed, thanks for pointing that out to me. The fact that it can't create an animation file (as far as I could tell so far) does mean I can't use it, though. So I'll still try to pursue the matplotlib animation option, although maybe for most users holoviews+xarray might already be enough (I don't know).","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,309965118
https://github.com/pydata/xarray/issues/2030#issuecomment-377439646,https://api.github.com/repos/pydata/xarray/issues/2030,377439646,MDEyOklzc3VlQ29tbWVudDM3NzQzOTY0Ng==,13205162,2018-03-30T04:02:24Z,2018-03-30T04:16:17Z,CONTRIBUTOR,"Unfortunately I don't have any example with DataArray right now. Since I never could take advantage of DataArray's plotting capabilities for animations, I always did animations using pure Numpy. However, I'm talking about the standard matplotlib animations. Here's an example taken from [here](https://matplotlib.org/examples/animation/basic_example_writer.html):
```import numpy as np
import matplotlib
matplotlib.use(""Agg"")
import matplotlib.pyplot as plt
import matplotlib.animation as animation
def update_line(num, data, line):
line.set_data(data[..., :num])
return line,
# Set up formatting for the movie files
Writer = animation.writers['ffmpeg']
writer = Writer(fps=15, metadata=dict(artist='Me'), bitrate=1800)
fig1 = plt.figure()
data = np.random.rand(2, 25)
l, = plt.plot([], [], 'r-')
plt.xlim(0, 1)
plt.ylim(0, 1)
plt.xlabel('x')
plt.title('test')
line_ani = animation.FuncAnimation(fig1, update_line, 25, fargs=(data, l),
interval=50, blit=True)
line_ani.save('lines.mp4', writer=writer)
```
If you have some directions on a smart way to bring xarray into the picture, maybe I can try to come up with an example that might evolve into a contribution.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,309965118