issues: 385426092
This data as json
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
385426092 | MDU6SXNzdWUzODU0MjYwOTI= | 2580 | examples/xarray_multidimensional_coords.ipynb broken? | 852409 | closed | 0 | 4 | 2018-11-28T19:39:16Z | 2018-11-29T09:32:57Z | 2018-11-28T22:30:36Z | CONTRIBUTOR | I tried running First Next I changed to Finally, the plot example failed like this: ``` AttributeError Traceback (most recent call last) <ipython-input-23-b7284116c837> in <module> 2 ax = plt.axes(projection=ccrs.PlateCarree()) 3 ax.set_global() ----> 4 ds.Tair[0].plot.pcolormesh(ax=ax, transform=ccrs.PlateCarree(), x='xc', y='yc', add_colorbar=False) 5 ax.coastlines() 6 ax.set_ylim([0,90]); ~/software/anaconda3/envs/multinorm/lib/python3.7/site-packages/xarray/plot/plot.py in plotmethod(_PlotMethods_obj, x, y, figsize, size, aspect, ax, row, col, col_wrap, xincrease, yincrease, add_colorbar, add_labels, vmin, vmax, cmap, colors, center, robust, extend, levels, infer_intervals, subplot_kws, cbar_ax, cbar_kwargs, xscale, yscale, xticks, yticks, xlim, ylim, norm, kwargs) 917 for arg in ['_PlotMethods_obj', 'newplotfunc', 'kwargs']: 918 del allargs[arg] --> 919 return newplotfunc(allargs) 920 921 # Add to class _PlotMethods ~/software/anaconda3/envs/multinorm/lib/python3.7/site-packages/xarray/plot/plot.py in newplotfunc(darray, x, y, figsize, size, aspect, ax, row, col, col_wrap, xincrease, yincrease, add_colorbar, add_labels, vmin, vmax, cmap, center, robust, extend, levels, infer_intervals, colors, subplot_kws, cbar_ax, cbar_kwargs, xscale, yscale, xticks, yticks, xlim, ylim, norm, kwargs) 854 vmax=cmap_params['vmax'], 855 norm=cmap_params['norm'], --> 856 kwargs) 857 858 # Label the plot with metadata ~/software/anaconda3/envs/multinorm/lib/python3.7/site-packages/xarray/plot/plot.py in pcolormesh(x, y, z, ax, infer_intervals, kwargs) 1108 y = _infer_interval_breaks(y, axis=0) 1109 -> 1110 primitive = ax.pcolormesh(x, y, z, kwargs) 1111 1112 # by default, pcolormesh picks "round" values for bounds ~/software/anaconda3/envs/multinorm/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py in pcolormesh(self, args, kwargs) 1449 ' consider using PlateCarree/RotatedPole.') 1450 kwargs.setdefault('transform', t) -> 1451 result = self._pcolormesh_patched(args, **kwargs) 1452 self.autoscale_view() 1453 return result ~/software/anaconda3/envs/multinorm/lib/python3.7/site-packages/cartopy/mpl/geoaxes.py in _pcolormesh_patched(self, args, *kwargs) 1467 import matplotlib.collections as mcoll 1468 -> 1469 if not self._hold: 1470 self.cla() 1471 AttributeError: 'GeoAxesSubplot' object has no attribute '_hold' ``` It seems Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/2580/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |