home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 422979924

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/2422#issuecomment-422979924 https://api.github.com/repos/pydata/xarray/issues/2422 422979924 MDEyOklzc3VlQ29tbWVudDQyMjk3OTkyNA== 2448579 2018-09-19T22:29:51Z 2018-09-19T22:29:51Z MEMBER

Yes #2294 changed the default xincrease, yincrease to be None rather than True. Previously, if xincrease was True we were setting axis limits and this prevented the axis from auto-updating its limits. Now that we are using the invert_axis() method, this might not be an issue. (Actually, now that I look at the code for invert_axis(), all I needed to do earlier was set the kwarg auto=None in the call to set_xlim, so this would be an easy way to revert to the previous code.)

I switched the default to None because I thought it was better to make the least number of modifications to the axis by default.

That said, I cannot reproduce this with a dataset with decreasing latitude so I'm very confused about what's happening. ``` da = xr.DataArray(np.arange(24).reshape(3,8), dims=('latitude', 'longitude'), coords={'latitude': [8, 0, -8], 'longitude': np.arange(8)})

da.plot() ```

PS: I'm on a ship in the middle of the Pacific with crappy internet access. @fmaussion I'd appreciate it if you could look at this so we can get the release out. I will respond but there'll be a large time lag.

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