home / github

Menu
  • GraphQL API
  • Search all tables

issue_comments

Table actions
  • GraphQL API for issue_comments

7 rows where author_association = "NONE" and issue = 114576415 sorted by updated_at descending

✎ View and edit SQL

This data as json, CSV (advanced)

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

user 1

  • mwaskom 7

issue 1

  • Add a keyword to prevent divergent plot params · 7 ✖

author_association 1

  • NONE · 7 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
154923759 https://github.com/pydata/xarray/issues/642#issuecomment-154923759 https://api.github.com/repos/pydata/xarray/issues/642 MDEyOklzc3VlQ29tbWVudDE1NDkyMzc1OQ== mwaskom 315810 2015-11-09T04:54:10Z 2015-11-09T04:54:10Z NONE

(Also it would be nice if colormaps had some metadata indicating whether they are sequential, diverging, or qualitative, but that's really a matplotlib issue).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add a keyword to prevent divergent plot params  114576415
154921317 https://github.com/pydata/xarray/issues/642#issuecomment-154921317 https://api.github.com/repos/pydata/xarray/issues/642 MDEyOklzc3VlQ29tbWVudDE1NDkyMTMxNw== mwaskom 315810 2015-11-09T04:48:12Z 2015-11-09T04:48:12Z NONE

Seaborn currently doesn't have any notion of "divergent" colormaps without breakpoints (beyond explicitly providing one with the cmap argument, but that doesn't trigger the divergent colormap logic currently). To be honest, I'm not sure there's a use case for that -- the only place where I would want to default a breakpoint is around zero, which is straightforward enough to signal with center=0.

My point is, there should be a way to use vmin, vmax, and center together and have them all do what they are expected to.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add a keyword to prevent divergent plot params  114576415
154918199 https://github.com/pydata/xarray/issues/642#issuecomment-154918199 https://api.github.com/repos/pydata/xarray/issues/642 MDEyOklzc3VlQ29tbWVudDE1NDkxODE5OQ== mwaskom 315810 2015-11-09T04:33:15Z 2015-11-09T04:33:15Z NONE

For some reason I thought that was an implementation detail, although I'm having trouble pulling up a reference. Seems weird to test is False.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add a keyword to prevent divergent plot params  114576415
154918082 https://github.com/pydata/xarray/issues/642#issuecomment-154918082 https://api.github.com/repos/pydata/xarray/issues/642 MDEyOklzc3VlQ29tbWVudDE1NDkxODA4Mg== mwaskom 315810 2015-11-09T04:31:29Z 2015-11-09T04:31:29Z NONE

Also, the ideal behavior really when you are plotting a diverging colormap and have provided vmin and vmax is to change the colormap itself so the breakpoint is at the data center but the limits are as provided.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add a keyword to prevent divergent plot params  114576415
154915488 https://github.com/pydata/xarray/issues/642#issuecomment-154915488 https://api.github.com/repos/pydata/xarray/issues/642 MDEyOklzc3VlQ29tbWVudDE1NDkxNTQ4OA== mwaskom 315810 2015-11-09T04:18:52Z 2015-11-09T04:18:52Z NONE

We already distinguish between center=None and center=0 inside the logic for color limits, so I don't think this would be too much worse.

I just mean practically, how do you tell the difference between 0 and False in Python code?

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add a keyword to prevent divergent plot params  114576415
153125033 https://github.com/pydata/xarray/issues/642#issuecomment-153125033 https://api.github.com/repos/pydata/xarray/issues/642 MDEyOklzc3VlQ29tbWVudDE1MzEyNTAzMw== mwaskom 315810 2015-11-02T19:00:11Z 2015-11-02T19:00:11Z NONE

You could also just change the logic so that if both vmin and vmax are provided, they get used, although I'm not sure what that says about the default colormap to use.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add a keyword to prevent divergent plot params  114576415
153124715 https://github.com/pydata/xarray/issues/642#issuecomment-153124715 https://api.github.com/repos/pydata/xarray/issues/642 MDEyOklzc3VlQ29tbWVudDE1MzEyNDcxNQ== mwaskom 315810 2015-11-02T18:58:50Z 2015-11-02T18:58:50Z NONE

center=False seems like it will collide with center=0 in surprising ways, but I agree that avoiding an additional kwarg would be ideal.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Add a keyword to prevent divergent plot params  114576415

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