issues: 528059041
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 |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
528059041 | MDU6SXNzdWU1MjgwNTkwNDE= | 3569 | Drawing only one contour in FacetGrid | 6815953 | closed | 0 | 1 | 2019-11-25T12:37:02Z | 2020-04-11T16:11:52Z | 2020-04-11T16:11:52Z | NONE | MCVE Code Sample```python import numpy as np import matplotlib.pyplot as plt import xarray as xr x, y = np.meshgrid(np.arange(12), np.arange(12)) z = xr.DataArray(np.sqrt(x2 + y2)) z2 = xr.DataArray(np.sqrt(x2 + y2)+1) ds = xr.concat([z,z2], dim = 'time') ds['time'] = [0,1] f, ax = plt.subplots() ds[0].plot.contour(ax = ax, levels=[4], colors=['k']) f, ax = plt.subplots() ds[1].plot.contour(ax = ax, levels=[4], colors=['k']) ds.plot.contour(col = 'time', levels=[4], colors=['k']) ``` OutputExpected OutputProblem DescriptionWhile drawing only one contour was fixed some time ago (#866), single contour plots in FacetGrid do not work for me. Output of
|
{ "url": "https://api.github.com/repos/pydata/xarray/issues/3569/reactions", "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
completed | 13221727 | issue |