issue_comments: 1018993772
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/pull/5622#issuecomment-1018993772 | https://api.github.com/repos/pydata/xarray/issues/5622 | 1018993772 | IC_kwDOAMm_X848vJxs | 14371165 | 2022-01-22T00:40:23Z | 2022-01-22T00:40:23Z | MEMBER | Line plots aren't completely broken now. The array is being stacked to 1 dim now. Using nan to split the lines at appropriate places.
```python
ds = xr.tutorial.scatter_example_dataset(seed=42)
hue_ = "y"
x_ = "y"
size_="y"
z_ = "z"
fig = plt.figure()
ax = fig.add_subplot(1, 2, 1, projection='3d')
ds.A.sel(w="one").plot.line(x=x_, z=z_, hue=hue_, linewidth=size_, ax=ax)
ax = fig.add_subplot(1, 2, 2, projection='3d')
ds.A.sel(w="one").plot.scatter(x=x_, z=z_, hue=hue_, markersize=size_, ax=ax)
```
|
{ "total_count": 0, "+1": 0, "-1": 0, "laugh": 0, "hooray": 0, "confused": 0, "heart": 0, "rocket": 0, "eyes": 0 } |
948049609 |