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/6399#issuecomment-1074983948,https://api.github.com/repos/pydata/xarray/issues/6399,1074983948,IC_kwDOAMm_X85AEvQM,9312831,2022-03-22T10:14:17Z,2022-03-22T10:14:17Z,NONE,"OK, thanks again. This is clear to me now. So this should be a `matplotlib` problem. I am closing this now.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1176172498 https://github.com/pydata/xarray/issues/6399#issuecomment-1074969560,https://api.github.com/repos/pydata/xarray/issues/6399,1074969560,IC_kwDOAMm_X85AErvY,10194086,2022-03-22T09:59:10Z,2022-03-22T09:59:10Z,MEMBER,"Yes, this may indeed not be entirely clear from the docstring. So if you have coordinates `[1, 2, 3]` and set `infer_interval=True` it assumes these are the center of the grid and it will infer the intervals, i.e. it will pass `[0.5, 1.5, 2.5, 3.5]` to `plt.pcolormesh`. For `shading='gouraud'` it however requires that the coordinates are the corners.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1176172498 https://github.com/pydata/xarray/issues/6399#issuecomment-1074939174,https://api.github.com/repos/pydata/xarray/issues/6399,1074939174,IC_kwDOAMm_X85AEkUm,9312831,2022-03-22T09:39:10Z,2022-03-22T09:39:10Z,NONE,"Thanks @mathause , that works well. After searching the doc on `infer_intervals`, I still don't know why this is happening.","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1176172498 https://github.com/pydata/xarray/issues/6399#issuecomment-1074891281,https://api.github.com/repos/pydata/xarray/issues/6399,1074891281,IC_kwDOAMm_X85AEYoR,10194086,2022-03-22T08:48:29Z,2022-03-22T08:48:45Z,MEMBER,"Untested but can you try: ```python da.plot.pcolormesh(shading='gouraud', infer_intervals=False) ```","{""total_count"": 0, ""+1"": 0, ""-1"": 0, ""laugh"": 0, ""hooray"": 0, ""confused"": 0, ""heart"": 0, ""rocket"": 0, ""eyes"": 0}",,1176172498