id,node_id,number,title,user,state,locked,assignee,milestone,comments,created_at,updated_at,closed_at,author_association,active_lock_reason,draft,pull_request,body,reactions,performed_via_github_app,state_reason,repo,type 842583817,MDU6SXNzdWU4NDI1ODM4MTc=,5084,plot_surface() wrapper,3958036,closed,0,,,2,2021-03-27T19:16:09Z,2021-05-03T13:05:02Z,2021-05-03T13:05:02Z,CONTRIBUTOR,,,,"Is there an xarray way to make a surface plot, like matplotlib's `plot_surface()`? I didn't see one on a quick skim, but expect it should be fairly easy to add, following the style for `contour()`, `pcolormesh()`, etc.? For the matplotlib version, see https://matplotlib.org/stable/gallery/mplot3d/surface3d.html.","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/5084/reactions"", ""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,completed,13221727,issue 823290488,MDExOlB1bGxSZXF1ZXN0NTg1Nzc0MjY4,5003,Add Dataset.plot.streamplot() method,3958036,closed,0,,,2,2021-03-05T17:41:49Z,2021-03-30T16:41:08Z,2021-03-30T16:41:07Z,CONTRIBUTOR,,0,pydata/xarray/pulls/5003,"Since @dcherian added Quiver plots in #4407, it's fairly simple to extend the functionality to `streamplot()`. For example (copying from @dcherian's unit test setup) ``` import xarray as xr from matplotlib import pyplot as plt das = [ xr.DataArray( np.random.randn(3, 3), dims=[""x"", ""y""], coords=[range(k) for k in [3, 3]], ) for _ in [1, 2] ] ds = xr.Dataset({""u"": das[0], ""v"": das[1]}) ds[""mag""] = np.hypot(ds.u, ds.v) ds.plot.streamplot(x=""x"",y=""y"",u=""u"",v=""v"", hue=""mag"") plt.show() ``` ![streamplot](https://user-images.githubusercontent.com/3958036/110155196-311a8c80-7ddd-11eb-99ea-06232cffcc30.png) - [x] Tests added - [x] Passes `pre-commit run --all-files` - [x] User visible changes (including notable bug fixes) are documented in `whats-new.rst` - [x] New functions/methods are listed in `api.rst` ","{""url"": ""https://api.github.com/repos/pydata/xarray/issues/5003/reactions"", ""total_count"": 1, ""+1"": 1, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,,13221727,pull