home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 663987155

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/issues/4265#issuecomment-663987155 https://api.github.com/repos/pydata/xarray/issues/4265 663987155 MDEyOklzc3VlQ29tbWVudDY2Mzk4NzE1NQ== 6628425 2020-07-26T13:18:48Z 2020-07-26T13:18:48Z MEMBER

I think this NumPy issue is related: https://github.com/numpy/numpy/issues/16939. https://github.com/numpy/numpy/pull/16943 was merged yesterday, which appears to have at least allowed this to continue to work for the time being: ```python

import numpy as np a = np.array([[1., 2.], [3., 4.]]) a[:, 0] = (np.array([0.]), np.array([3650.])) <stdin>:1: DeprecationWarning: setting an array element with a sequence. This was supported in some cases where the elements are arrays with a single element. For example np.array([1, np.array([2])], dtype=int). In the future this will raise the same ValueError as np.array([1, [2]], dtype=int). ``` Given that this will be deprecated, I think it's still worthwhile to investigate what's causing this upstream in matplotlib or nc-time-axis, but it should be safe to un-xfail these tests again.

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  665232266
Powered by Datasette · Queries took 57.827ms · About: xarray-datasette