issues: 393742068
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 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 393742068 | MDU6SXNzdWUzOTM3NDIwNjg= | 2628 | Empty plot with pcolormesh in the notebook | 4711805 | closed | 0 | 3 | 2018-12-23T11:21:48Z | 2020-12-05T05:06:36Z | 2020-12-05T05:06:36Z | CONTRIBUTOR | Code Sample```python import numpy as np import xarray as xr import matplotlib.pyplot as plt %matplotlib inline a = np.ones((4000, 4000), dtype=np.uint8) a[:1000, :1000] = 0 lat = np.array([0-i for i in range(a.shape[0])]) lon = np.array([0+i for i in range(a.shape[1])]) da = xr.DataArray(a, coords=[lat, lon], dims=['lat', 'lon']) da.plot.pcolormesh() ``` Problem descriptionThe code above shows an empty plot in a notebook (but not in the console). Expected OutputIf I replace Output of
|
{
"url": "https://api.github.com/repos/pydata/xarray/issues/2628/reactions",
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
completed | 13221727 | issue |