home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

13 rows where author_association = "MEMBER" and issue = 1377128403 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 3

  • Illviljan 9
  • max-sixty 3
  • mathause 1

issue 1

  • Add typing to plot methods · 13 ✖

author_association 1

  • MEMBER · 13 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
1279931075 https://github.com/pydata/xarray/pull/7052#issuecomment-1279931075 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85MSjLD Illviljan 14371165 2022-10-16T09:27:18Z 2022-10-16T09:27:18Z MEMBER

Thanks @headtr1ck ! :)

{
    "total_count": 2,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 2,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403
1277951477 https://github.com/pydata/xarray/pull/7052#issuecomment-1277951477 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85MK_31 Illviljan 14371165 2022-10-13T17:31:49Z 2022-10-13T18:26:23Z MEMBER

Yeah, I had some strange issues there. One was that the branch wasn't up to date and another one that I can't replicate anymore... Sorry for the noise,

Agreed on the labels, I haven't figured how to avoid that overlap yet. y should point to the top as it does in 2D plots, it makes it easy to orient yourself as you add dimensions: python ds = xr.tutorial.scatter_example_dataset(seed=42) fg = ds.plot.scatter(x="A", y="B", hue="y", row="x", col="w") fg = ds.plot.scatter(x="A", y="B", z="z", hue="y", row="x", col="w")

Not how it's done in plots2d (yet) though.

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 1,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403
1278007157 https://github.com/pydata/xarray/pull/7052#issuecomment-1278007157 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85MLNd1 Illviljan 14371165 2022-10-13T18:23:11Z 2022-10-13T18:23:11Z MEMBER

I use windows as well. :) I just had my plot in an interactive window that was maximized.

I can get it too look as bad as yours as well:

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 1,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403
1277853940 https://github.com/pydata/xarray/pull/7052#issuecomment-1277853940 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85MKoD0 Illviljan 14371165 2022-10-13T16:10:01Z 2022-10-13T17:27:46Z MEMBER

edit

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403
1277813315 https://github.com/pydata/xarray/pull/7052#issuecomment-1277813315 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85MKeJD Illviljan 14371165 2022-10-13T15:38:14Z 2022-10-13T15:38:14Z MEMBER

Anyway, you should use kwargs for x and y as well :)

Hah, unfortunately my random test scripts I copy/pasted from can't keep up with branches. :D

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403
1277793880 https://github.com/pydata/xarray/pull/7052#issuecomment-1277793880 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85MKZZY Illviljan 14371165 2022-10-13T15:25:23Z 2022-10-13T15:25:23Z MEMBER

This crashes now. Maybe you'll find the bug faster than me. ```python import xarray as xr

ds = xr.tutorial.scatter_example_dataset(seed=42) fg = ds.plot.scatter("A", "B", z="z", hue="y", row="x", col="w")

Traceback (most recent call last):

File "C:\Users\J.W\anaconda3\envs\xarray-tests\lib\site-packages\spyder_kernels\py3compat.py", line 356, in compat_exec exec(code, globals, locals)

File "g:\program\dropbox\python\xarray_line_plot.py", line 122, in <module> fg = ds.plot.scatter("A", "B", z="z", hue="y", row="x", col="w")

File "C:\Users\J.W\Documents\GitHub\xarray\xarray\plot\accessor.py", line 975, in scatter return dataset_plot.scatter(self._ds, args, *kwargs)

File "C:\Users\J.W\Documents\GitHub\xarray\xarray\plot\dataset_plot.py", line 234, in newplotfunc return _easy_facetgrid(kind="dataset", allargs, kwargs)

File "C:\Users\J.W\Documents\GitHub\xarray\xarray\plot\facetgrid.py", line 770, in _easy_facetgrid return g.map_dataset(plotfunc, x, y, **kwargs)

File "C:\Users\J.W\Documents\GitHub\xarray\xarray\plot\facetgrid.py", line 370, in map_dataset maybe_mappable = func(

File "C:\Users\J.W\Documents\GitHub\xarray\xarray\plot\dataset_plot.py", line 262, in newplotfunc primitive = plotfunc(

File "C:\Users\J.W\Documents\GitHub\xarray\xarray\plot\dataset_plot.py", line 541, in scatter primitive = ax.scatter(

File "C:\Users\J.W\anaconda3\envs\xarray-tests\lib\site-packages\matplotlib__init__.py", line 1423, in inner return func(ax, map(sanitize_sequence, args), *kwargs)

File "C:\Users\J.W\anaconda3\envs\xarray-tests\lib\site-packages\matplotlib\axes_axes.py", line 4626, in scatter collection._internal_update(kwargs)

File "C:\Users\J.W\anaconda3\envs\xarray-tests\lib\site-packages\matplotlib\artist.py", line 1186, in _internal_update return self._update_props(

File "C:\Users\J.W\anaconda3\envs\xarray-tests\lib\site-packages\matplotlib\artist.py", line 1160, in _update_props raise AttributeError(

AttributeError: PathCollection.set() got an unexpected keyword argument 'z' ```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403
1271779030 https://github.com/pydata/xarray/pull/7052#issuecomment-1271779030 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85Lzc7W Illviljan 14371165 2022-10-07T16:03:30Z 2022-10-07T16:03:30Z MEMBER

I've merged the PR. :) Have fun with the conflicts!

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403
1267449828 https://github.com/pydata/xarray/pull/7052#issuecomment-1267449828 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85Li7_k max-sixty 5635139 2022-10-04T18:55:34Z 2022-10-04T18:55:34Z MEMBER

Excellent! Should we hit the green button?

{
    "total_count": 1,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 1,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403
1257270633 https://github.com/pydata/xarray/pull/7052#issuecomment-1257270633 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85K8G1p max-sixty 5635139 2022-09-25T20:14:08Z 2022-09-25T20:14:08Z MEMBER

One point aside — when this is done, we may be able to turn on mypy's strict mode, at least for the tests path, so then tests always need annotations, and our annotations get tested.

(for context, a year ago or so we found some of them were wrong, but weren't being tested, because -> None wasn't in the tests)

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403
1257224879 https://github.com/pydata/xarray/pull/7052#issuecomment-1257224879 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85K77qv Illviljan 14371165 2022-09-25T16:05:46Z 2022-09-25T16:05:46Z MEMBER

I've merged the easy ones now. I'm not as confident on #6778 and could use another review on it.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403
1257178756 https://github.com/pydata/xarray/pull/7052#issuecomment-1257178756 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85K7waE mathause 10194086 2022-09-25T11:57:02Z 2022-09-25T11:57:22Z MEMBER

I'd opt for (1) & a comment on why it needs a separate module.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403
1257014146 https://github.com/pydata/xarray/pull/7052#issuecomment-1257014146 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85K7IOC Illviljan 14371165 2022-09-24T16:52:16Z 2022-09-24T16:52:16Z MEMBER

Maybe there's something to learn from how pandas does it: https://github.com/pandas-dev/pandas/tree/main/pandas/plotting ?

I'm a little skeptical if all the arguments in scatter are necessary and maybe they can be hidden in kwargs? Should make the overloads a little shorter.

I've been working on moving all plots to the DataArray side starting with scatter in #6778. It should also remove the list[PathCollection] overloads.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403
1252966690 https://github.com/pydata/xarray/pull/7052#issuecomment-1252966690 https://api.github.com/repos/pydata/xarray/issues/7052 IC_kwDOAMm_X85KrsEi max-sixty 5635139 2022-09-20T22:09:27Z 2022-09-20T22:09:27Z MEMBER

Congrats for doing all these!! This must be (almost?) the last of untyped modules?

{
    "total_count": 2,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 2,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add typing to plot methods 1377128403

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 483.962ms · About: xarray-datasette