home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

17 rows where user = 15079414 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

Suggested facets: issue_url, created_at (date), updated_at (date)

issue 11

  • Clean up and enhance plot method docstrings 4
  • mypy complaint about `.to_netcdf` `encoding` 3
  • `DataArray.nbytes` listed twice in API doc block 2
  • Optionally create new figure automatically 1
  • DOC: add see also for to_zarr 1
  • DOC: fix link to io.zarr 1
  • FacetGrid docstrings 1
  • `colors` in Dataset plot methods 1
  • <https://xarray.pydata.org> redirects to <http://xarray.pydata.org/en/stable/> 1
  • `compat='override'` not documented for `Dataset.merge()` 1
  • Update merge docstrings 1

user 1

  • zmoon · 17 ✖

author_association 1

  • CONTRIBUTOR 17
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1311934208 https://github.com/pydata/xarray/issues/7258#issuecomment-1311934208 https://api.github.com/repos/pydata/xarray/issues/7258 IC_kwDOAMm_X85OMocA zmoon 15079414 2022-11-11T16:43:46Z 2022-11-11T16:43:46Z CONTRIBUTOR

Ah, I thought it might be something like that when you mentioned invariance earlier. Thanks!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  mypy complaint about `.to_netcdf` `encoding` 1436755752
1311928206 https://github.com/pydata/xarray/issues/7258#issuecomment-1311928206 https://api.github.com/repos/pydata/xarray/issues/7258 IC_kwDOAMm_X85OMm-O zmoon 15079414 2022-11-11T16:36:47Z 2022-11-11T16:36:47Z CONTRIBUTOR

@headtr1ck would you mind explaining a bit more what the complaint was? I had string keys and str is hashable, so still a bit confused.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  mypy complaint about `.to_netcdf` `encoding` 1436755752
1304560538 https://github.com/pydata/xarray/issues/7258#issuecomment-1304560538 https://api.github.com/repos/pydata/xarray/issues/7258 IC_kwDOAMm_X85NwgOa zmoon 15079414 2022-11-05T14:48:12Z 2022-11-05T14:58:08Z CONTRIBUTOR

Yes mypy is pleased with encoding: dict[Hashable, dict[str, Any]] (or if pass encoding as dict literal instead of creating a variable beforehand).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  mypy complaint about `.to_netcdf` `encoding` 1436755752
1246053125 https://github.com/pydata/xarray/pull/7033#issuecomment-1246053125 https://api.github.com/repos/pydata/xarray/issues/7033 IC_kwDOAMm_X85KRUMF zmoon 15079414 2022-09-13T23:31:26Z 2022-09-13T23:31:26Z CONTRIBUTOR

Some thoughts: * I am not too sure about the short description for join='override' that I added for Dataset.merge(). * Looks like there is a compat='minimal' option as well that is not documented. * If this is desired, I would also change to single quoted strings wrapped in `` for the option descriptions

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Update merge docstrings 1372114101
1221124556 https://github.com/pydata/xarray/issues/6935#issuecomment-1221124556 https://api.github.com/repos/pydata/xarray/issues/6935 IC_kwDOAMm_X85IyOHM zmoon 15079414 2022-08-19T22:04:29Z 2022-08-21T18:00:23Z CONTRIBUTOR

Also I see the xr.merge() one has a different order between the set of options and the descriptions, could fix that too.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  `compat='override'` not documented for `Dataset.merge()` 1344847532
1146190475 https://github.com/pydata/xarray/issues/6565#issuecomment-1146190475 https://api.github.com/repos/pydata/xarray/issues/6565 IC_kwDOAMm_X85EUXqL zmoon 15079414 2022-06-03T17:13:20Z 2022-06-03T17:13:32Z CONTRIBUTOR

Some references: * not listed in array API attributes * documented in numpy * slightly documented in dask * slightly more documented in cupy

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  `DataArray.nbytes` listed twice in API doc block 1223227817
1115545322 https://github.com/pydata/xarray/issues/6565#issuecomment-1115545322 https://api.github.com/repos/pydata/xarray/issues/6565 IC_kwDOAMm_X85Cfd7q zmoon 15079414 2022-05-03T02:01:57Z 2022-05-03T02:01:57Z CONTRIBUTOR

Also, I guess it is pretty self-explanatory, but perhaps some documentation could be added, maybe at least a reference to numpy.ndarray.nbytes.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  `DataArray.nbytes` listed twice in API doc block 1223227817
1103009167 https://github.com/pydata/xarray/issues/4114#issuecomment-1103009167 https://api.github.com/repos/pydata/xarray/issues/4114 IC_kwDOAMm_X85BvpWP zmoon 15079414 2022-04-19T19:25:44Z 2022-04-19T20:37:34Z CONTRIBUTOR

Thanks @max-sixty. ~~I think~~ it was with %matplotlib widget (ipympl) that I got the behavior I described. With %matplotlib inline (default inline backend) the figures get closed[^1] at the end of a cell, so the two plot commands would have to be in the same cell to get an overlay, which is fine. But with ipympl, this is not the case so you have to be more careful.

Example ![image](https://user-images.githubusercontent.com/15079414/164080131-07a8d5d1-86b5-44d4-811f-ab6f19b1bd0f.png)

[^1]: You can disable this behavior with %config InlineBackend.close_figures=False and get an overlay from plot commands in separate cells, but then you have to manually refresh the plot it seems.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Optionally create new figure automatically 627805952
991053314 https://github.com/pydata/xarray/issues/6063#issuecomment-991053314 https://api.github.com/repos/pydata/xarray/issues/6063 IC_kwDOAMm_X847EkYC zmoon 15079414 2021-12-10T15:13:03Z 2021-12-10T15:13:03Z CONTRIBUTOR

Sorry, not sure. I don't recall noticing it before.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  <https://xarray.pydata.org> redirects to <http://xarray.pydata.org/en/stable/> 1076378062
845599419 https://github.com/pydata/xarray/issues/5337#issuecomment-845599419 https://api.github.com/repos/pydata/xarray/issues/5337 MDEyOklzc3VlQ29tbWVudDg0NTU5OTQxOQ== zmoon 15079414 2021-05-21T02:06:41Z 2021-05-21T02:11:38Z CONTRIBUTOR

Yeah, having a kwarg that is noted to be specifically for the hue variable could make it more clear. It doesn't seem like the Dataset plot methods need to have both cmap and colors. They could be replaced by one, like palette, or keep just colors? But I guess with colors and levels you can make colormaps on the fly, which is convenient. And this does work for plot.scatter, but the hue variable has to be numeric.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  `colors` in Dataset plot methods 894819396
843176731 https://github.com/pydata/xarray/pull/5285#issuecomment-843176731 https://api.github.com/repos/pydata/xarray/issues/5285 MDEyOklzc3VlQ29tbWVudDg0MzE3NjczMQ== zmoon 15079414 2021-05-18T13:34:43Z 2021-05-18T13:34:43Z CONTRIBUTOR

@dcherian @keewis any comments/suggestions on the currently unresolved comments? Or is this good to go?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Clean up and enhance plot method docstrings 883153591
840705544 https://github.com/pydata/xarray/pull/5285#issuecomment-840705544 https://api.github.com/repos/pydata/xarray/issues/5285 MDEyOklzc3VlQ29tbWVudDg0MDcwNTU0NA== zmoon 15079414 2021-05-13T17:17:35Z 2021-05-13T17:17:35Z CONTRIBUTOR

Can we avoid the signature changes, seems like it creates more trouble than it solves.

I can put the positional ax args back for now, but I do think it would be better not to have in the signature, since it makes it look like you have to provide ax. The _plot2d deals with this by modifying the signature to hide it, but _dsplot doesn't. I do think it is unlikely that many users were using ax positionally, especially since this is never done in the examples, but it is certainly possible.

The positional u, v in dataset_plot.scatter were not used so I think that change is ok?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Clean up and enhance plot method docstrings 883153591
840693659 https://github.com/pydata/xarray/pull/5293#issuecomment-840693659 https://api.github.com/repos/pydata/xarray/issues/5293 MDEyOklzc3VlQ29tbWVudDg0MDY5MzY1OQ== zmoon 15079414 2021-05-13T16:57:42Z 2021-05-13T16:57:42Z CONTRIBUTOR

@dcherian in some sense this is a "user visible change", but quite minor. I wasn't sure if I should have added to What's New or not.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  FacetGrid docstrings 890235341
840644935 https://github.com/pydata/xarray/pull/5285#issuecomment-840644935 https://api.github.com/repos/pydata/xarray/issues/5285 MDEyOklzc3VlQ29tbWVudDg0MDY0NDkzNQ== zmoon 15079414 2021-05-13T15:37:57Z 2021-05-13T15:37:57Z CONTRIBUTOR

The RTD is failing with Sphinx parallel build error: nbsphinx.NotebookError: UndefinedError in examples/ERA5-GRIB-example.ipynb: 'nbformat.notebooknode.NotebookNode object' has no attribute 'tags' Doesn't seem like it would be related to this PR, but it was passing before...

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Clean up and enhance plot method docstrings 883153591
840534009 https://github.com/pydata/xarray/pull/5285#issuecomment-840534009 https://api.github.com/repos/pydata/xarray/issues/5285 MDEyOklzc3VlQ29tbWVudDg0MDUzNDAwOQ== zmoon 15079414 2021-05-13T12:51:16Z 2021-05-13T12:51:16Z CONTRIBUTOR

Thanks @mathause for the review.

Looks good overall. There are two things I am unsure about:

  1. You change the signature of ds.plot.scatter etc.. I think that's a worthwhile change but it needs a deprecation cycle - unless I am missing something? I'd suggest not doing that here but in a new PR. (I am also not entirely sure how to best do it...).

Yes, I suppose it would break it for anyone who was using ax positionally, but I am pretty sure no xarray docs examples do this, and I feel that the precedent from pandas, etc. is that ax is a kwarg.

  1. I see the matplotlib: part of some of the references for the first time (e.g. py:meth:`matplotlib:matplotlib.figure.Figure.add_subplot\`) - this is used very inconsistently (already before). I am not sure what's correct.

It works both ways (I've been building locally to check things), but I can certainly add in the matplotlib:s if you would like. I suppose that makes it more clear that it is an external name, not part of xarray.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Clean up and enhance plot method docstrings 883153591
822675523 https://github.com/pydata/xarray/pull/5176#issuecomment-822675523 https://api.github.com/repos/pydata/xarray/issues/5176 MDEyOklzc3VlQ29tbWVudDgyMjY3NTUyMw== zmoon 15079414 2021-04-19T18:18:01Z 2021-04-19T18:18:01Z CONTRIBUTOR

I agree with @zmoon that other API pages might benefit from these links, too, as long as we remember to sufficiently describe the link so the entry is still useful in text mode.

@keewis just wondering, did you see my comments?. It doesn't matter in this case, but it might be relevant in others.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: fix link to io.zarr 860274641
821716121 https://github.com/pydata/xarray/pull/5163#issuecomment-821716121 https://api.github.com/repos/pydata/xarray/issues/5163 MDEyOklzc3VlQ29tbWVudDgyMTcxNjEyMQ== zmoon 15079414 2021-04-16T23:08:33Z 2021-04-16T23:58:54Z CONTRIBUTOR

Currently renders like this, which I don't think is intended.

numpydoc See Also section is really intended for references to code; it is taking http as the identifier (and linking to Python std lib's http package).

Edit: looks like there is an .. _io.zarr: anchor, so :ref:`io.zarr` should work? (or :doc:`io` for just the page)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  DOC: add see also for to_zarr 859020732

Advanced export

JSON shape: default, array, newline-delimited, object

CSV options:

CREATE TABLE [issue_comments] (
   [html_url] TEXT,
   [issue_url] TEXT,
   [id] INTEGER PRIMARY KEY,
   [node_id] TEXT,
   [user] INTEGER REFERENCES [users]([id]),
   [created_at] TEXT,
   [updated_at] TEXT,
   [author_association] TEXT,
   [body] TEXT,
   [reactions] TEXT,
   [performed_via_github_app] TEXT,
   [issue] INTEGER REFERENCES [issues]([id])
);
CREATE INDEX [idx_issue_comments_issue]
    ON [issue_comments] ([issue]);
CREATE INDEX [idx_issue_comments_user]
    ON [issue_comments] ([user]);
Powered by Datasette · Queries took 30.866ms · About: xarray-datasette