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/2837#issuecomment-475284043,https://api.github.com/repos/pydata/xarray/issues/2837,475284043,MDEyOklzc3VlQ29tbWVudDQ3NTI4NDA0Mw==,2418513,2019-03-21T15:43:56Z,2019-03-21T15:58:23Z,NONE,"> matplotlib only knows about numpy arrays so plt.plot(arr, ...) will act like plt.plot(arr.values, ...) by design.
How does it (matplotlib) preserve Series index then?
> `style` is pandas-only kwarg (xarray lightly wraps matplotlib)
Would it make sense to make it (DA plotting interface) a bit more pandas-compatible by supporting `style`? Given that it copies pandas syntax like `arr.plot.line()` anyway...
Also, if `plot()` is meant to be a thin wrapper around matplotlib, it should support positional arguments, since you can do `plt.plot(x, y, '.-')` just fine, but `da.plot('.-')` fails complaining about unexpected positional arguments.
Currently, neither of the two options above work, making DA plot interface inferior to both raw matplotlib and pandas.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,423774214
https://github.com/pydata/xarray/issues/2837#issuecomment-475289244,https://api.github.com/repos/pydata/xarray/issues/2837,475289244,MDEyOklzc3VlQ29tbWVudDQ3NTI4OTI0NA==,2418513,2019-03-21T15:55:13Z,2019-03-21T15:55:13Z,NONE,"> I think it plots assuming that the index is [0:len(da.values)].
Nope. It plots datetime index just fine.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,423774214