issue_comments: 256894432
This data as json
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/781#issuecomment-256894432 | https://api.github.com/repos/pydata/xarray/issues/781 | 256894432 | MDEyOklzc3VlQ29tbWVudDI1Njg5NDQzMg== | 10050469 | 2016-10-28T11:06:35Z | 2016-10-28T11:06:35Z | MEMBER | Yes, this is definitely a problem. See for example the differences between ``` python import numpy as np import matplotlib.pyplot as plt import cartopy.crs as ccrs import xarray as xr da = xr.DataArray(np.arange(20).reshape(4, 5), dims=['lat', 'lon'], coords = {'lat': np.linspace(0, 30, 4), 'lon': np.linspace(-20, 20, 5)}) f = plt.figure() ax = plt.axes(projection=ccrs.PlateCarree()) da.plot.pcolormesh(ax=ax, transform=ccrs.PlateCarree()) lon, lat = np.meshgrid(da.lon.values, da.lat.values) ax.scatter(lon, lat, transform=ccrs.PlateCarree()) ax.coastlines() ax.set_title('pcolormesh') f = plt.figure() ax = plt.axes(projection=ccrs.PlateCarree()) da.plot.imshow(ax=ax, transform=ccrs.PlateCarree()) ax.scatter(lon, lat, transform=ccrs.PlateCarree()) ax.coastlines() ax.set_title('imshow') plt.show() ``` |
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
138045063 |