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-497739327,https://api.github.com/repos/pydata/xarray/issues/2030,497739327,MDEyOklzc3VlQ29tbWVudDQ5NzczOTMyNw==,1550771,2019-05-31T14:55:56Z,2019-05-31T14:55:56Z,NONE,"Small update in the syntax, which also happens to make it easier to set fps: ```python import xarray as xr import holoviews as hv hv.extension('matplotlib') air = xr.tutorial.open_dataset('air_temperature').load() ds = hv.Dataset(air.isel(time=range(100))) images = ds.to(hv.Image, ['lon', 'lat']).options(fig_inches=(10, 5), colorbar=True, cmap='viridis') hv.save(images, 'hv_anim.mp4', fps=4) ```","{""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-377570022,https://api.github.com/repos/pydata/xarray/issues/2030,377570022,MDEyOklzc3VlQ29tbWVudDM3NzU3MDAyMg==,1550771,2018-03-30T16:58:11Z,2018-03-30T16:58:11Z,NONE,"@benbovy Yes that's right, my apologies, I always work with the bleeding edge and forget what was merged before the last release. What I posted will be valid in 1.10.0, due to be released next week.","{""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,309965118 https://github.com/pydata/xarray/issues/2030#issuecomment-377566839,https://api.github.com/repos/pydata/xarray/issues/2030,377566839,MDEyOklzc3VlQ29tbWVudDM3NzU2NjgzOQ==,1550771,2018-03-30T16:44:35Z,2018-03-30T16:44:35Z,NONE,"> I hand't found anything like that. Yes, the ``Plotting with Matplotlib`` section in the user guide should cover it but it appears to be broken in the last website build. >For me, %%output isn't a recognized magic command That will only work in the notebook after you have run ``hv.extension('matplotlib')``. >fails for me with a tkinter-related error (can't invoke ""wm"" command), so I really couldn't see anything yet. You might have to switch to a different matplotlib GUI toolkit or forego one entirely and use agg, either by declaring it in your matplotlib.rc or by setting the backend before importing holoviews, e.g.: ``` import matplotlib matplotlib.use('Agg') ``` ","{""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-377550475,https://api.github.com/repos/pydata/xarray/issues/2030,377550475,MDEyOklzc3VlQ29tbWVudDM3NzU1MDQ3NQ==,1550771,2018-03-30T15:31:45Z,2018-03-30T15:44:24Z,NONE,">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 You can create animation files using the matplotlib backend in holoviews, as a simple example: ```python import xarray as xr import holoviews as hv hv.extension('matplotlib') air = xr.tutorial.load_dataset('air_temperature') ds = hv.Dataset(air.isel(time=range(100))) images = ds.to(hv.Image, ['lon', 'lat']).options(fig_inches=(10, 5), colorbar=True, cmap='viridis') ``` To display it in the notebook: ```python %%output holomap='mp4' images ``` To save it to file: ```python renderer = hv.renderer('matplotlib') renderer.save(images, 'hv_anim', 'mp4') ```","{""total_count"": 5, ""+1"": 5, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,309965118