issue_comments: 1312087585
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/7281#issuecomment-1312087585 | https://api.github.com/repos/pydata/xarray/issues/7281 | 1312087585 | IC_kwDOAMm_X85ONN4h | 14371165 | 2022-11-11T19:14:35Z | 2022-11-11T19:16:42Z | MEMBER | Markersize before PR:
Markersize after PR:
```python
import numpy as np
import matplotlib.pyplot as plt
import xarray as xr
temp = xr.DataArray(np.random.randn(10, 10, 2), coords=[np.arange(10), np.arange(10), [2021, 2022]], dims=["lon", "lat", "year"])
prec = xr.DataArray(np.random.randn(10, 10, 2), coords=[np.arange(10), np.arange(10), [2021, 2022]], dims=["lon", "lat", "year"])
one = xr.DataArray(np.random.randn(10, 10, 2), coords=[np.arange(10), np.arange(10), [2021, 2022]], dims=["lon", "lat", "year"])
blue = xr.DataArray(np.random.randn(10, 10, 2), coords=[np.arange(10), np.arange(10), [2021, 2022]], dims=["lon", "lat", "year"])
ds = xr.Dataset({"temperature": temp, "precipitation": prec, 1: one, "blue": blue})
# Stack the non interesting dims:
# fig, ax = plt.subplots()
# ds.stack(stacked_dim=[...]).plot.scatter(x="temperature", y="precipitation")
fig, ax = plt.subplots()
ds.plot.scatter(x="temperature", y="precipitation", markersize=1)
```
|
{
"total_count": 0,
"+1": 0,
"-1": 0,
"laugh": 0,
"hooray": 0,
"confused": 0,
"heart": 0,
"rocket": 0,
"eyes": 0
} |
1445870847 |

