home / github

Menu
  • Search all tables
  • GraphQL API

issue_comments

Table actions
  • GraphQL API for issue_comments

4 rows where author_association = "CONTRIBUTOR" and issue = 309965118 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

  • tomchor 4

issue 1

  • Animate DataArrays · 4 ✖

author_association 1

  • CONTRIBUTOR · 4 ✖
id html_url issue_url node_id user created_at updated_at ▲ author_association body reactions performed_via_github_app issue
377571072 https://github.com/pydata/xarray/issues/2030#issuecomment-377571072 https://api.github.com/repos/pydata/xarray/issues/2030 MDEyOklzc3VlQ29tbWVudDM3NzU3MTA3Mg== tomchor 13205162 2018-03-30T17:02:40Z 2018-03-30T17:03:09Z CONTRIBUTOR

@philippjfr Even with the alteration I still get a HoloMap type not found (using HV 1.9.5) error. I can still see the animation, though. And switching to 'Agg' did allow me to save the animation in mp4, which is good. All workarounds aside, this works pretty well. Thanks a lot to all.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Animate DataArrays 309965118
377565812 https://github.com/pydata/xarray/issues/2030#issuecomment-377565812 https://api.github.com/repos/pydata/xarray/issues/2030 MDEyOklzc3VlQ29tbWVudDM3NzU2NTgxMg== tomchor 13205162 2018-03-30T16:40:02Z 2018-03-30T16:40:02Z CONTRIBUTOR

@philippjfr Thanks for the comment. I hand't found anything like that. For me, %%output isn't a recognized magic command, and the renderer.save command fails for me with a tkinter-related error (can't invoke "wm" command), so I really couldn't see anything yet. But I believe I'll be able to solve that eventually.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Animate DataArrays 309965118
377543021 https://github.com/pydata/xarray/issues/2030#issuecomment-377543021 https://api.github.com/repos/pydata/xarray/issues/2030 MDEyOklzc3VlQ29tbWVudDM3NzU0MzAyMQ== tomchor 13205162 2018-03-30T15:00:44Z 2018-03-30T15:00:44Z CONTRIBUTOR

I didn't know holoviews existed, thanks for pointing that out to me. The fact that it can't create an animation file (as far as I could tell so far) does mean I can't use it, though. So I'll still try to pursue the matplotlib animation option, although maybe for most users holoviews+xarray might already be enough (I don't know).

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Animate DataArrays 309965118
377439646 https://github.com/pydata/xarray/issues/2030#issuecomment-377439646 https://api.github.com/repos/pydata/xarray/issues/2030 MDEyOklzc3VlQ29tbWVudDM3NzQzOTY0Ng== tomchor 13205162 2018-03-30T04:02:24Z 2018-03-30T04:16:17Z CONTRIBUTOR

Unfortunately I don't have any example with DataArray right now. Since I never could take advantage of DataArray's plotting capabilities for animations, I always did animations using pure Numpy. However, I'm talking about the standard matplotlib animations. Here's an example taken from here:

```import numpy as np import matplotlib matplotlib.use("Agg") import matplotlib.pyplot as plt import matplotlib.animation as animation

def update_line(num, data, line): line.set_data(data[..., :num]) return line,

Set up formatting for the movie files

Writer = animation.writers['ffmpeg'] writer = Writer(fps=15, metadata=dict(artist='Me'), bitrate=1800)

fig1 = plt.figure()

data = np.random.rand(2, 25) l, = plt.plot([], [], 'r-') plt.xlim(0, 1) plt.ylim(0, 1) plt.xlabel('x') plt.title('test') line_ani = animation.FuncAnimation(fig1, update_line, 25, fargs=(data, l), interval=50, blit=True) line_ani.save('lines.mp4', writer=writer) ```

If you have some directions on a smart way to bring xarray into the picture, maybe I can try to come up with an example that might evolve into a contribution.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  Animate DataArrays 309965118

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