home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 146369228

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/pull/608#issuecomment-146369228 https://api.github.com/repos/pydata/xarray/issues/608 146369228 MDEyOklzc3VlQ29tbWVudDE0NjM2OTIyOA== 1217238 2015-10-07T23:49:42Z 2015-10-07T23:49:42Z MEMBER

Originally, we only had imshow and contourf. We picked imshow as the default because it shows individual pixels. But pcolormesh also meets that criteria, and has the convenience of also working on non-evenly spaced grid.

The only reason to possibly not pick pcolormesh is that it has a different convention from imshow in terms of the image orientation (top-left vs bottom-left origin). Given that xray is largely used for data with meaningful coordinate labels (rather than images), I think it's probably a better choice to use the bottom-left origin as a default. It composing better, for example, with 1D plots.

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